diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8a5742..9f797ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,10 @@ jobs: - macos-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4 with: fetch-depth: 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags - - uses: actions/checkout@v4 + - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4 with: repository: WyriHaximus/php-fake-php-version ref: master @@ -52,7 +52,7 @@ jobs: - macos-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4 with: fetch-depth: 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags - name: 'Get Previous tag' diff --git a/.github/workflows/craft-release.yaml b/.github/workflows/craft-release.yaml index d3dfdcc..b014d20 100644 --- a/.github/workflows/craft-release.yaml +++ b/.github/workflows/craft-release.yaml @@ -48,7 +48,7 @@ jobs: - generate-changelog runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4 with: fetch-depth: 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags - name: Create release/${{ env.MILESTONE }} branch @@ -69,7 +69,7 @@ jobs: MILESTONE_DESCRIPTION: ${{ github.event.milestone.description }} CHANGELOG: ${{ needs.generate-changelog.outputs.changelog }} - name: Create release - uses: actions/create-release@v1 + uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -79,7 +79,7 @@ jobs: draft: false prerelease: false - name: Updated related tags - uses: haya14busa/action-update-semver@v1 + uses: haya14busa/action-update-semver@7d2c558640ea49e798d46539536190aff8c18715 # v1 with: tag: ${{ env.MILESTONE }} diff --git a/.github/workflows/set-milestone-on-pr.yaml b/.github/workflows/set-milestone-on-pr.yaml index 8e19d36..f6820e2 100644 --- a/.github/workflows/set-milestone-on-pr.yaml +++ b/.github/workflows/set-milestone-on-pr.yaml @@ -13,7 +13,7 @@ jobs: set-milestone: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4 with: fetch-depth: 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags if: github.event.pull_request.milestone == null