Skip to content

Commit

Permalink
chore: pin actions by commit
Browse files Browse the repository at this point in the history
  • Loading branch information
NgoKimPhu committed Nov 18, 2024
1 parent c4e9b70 commit bb72594
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
restore-keys: |
buildx-${{ inputs.file }}-${{ runner.os }}-
- name: Inject/extract cache into/from buildx
uses: reproducible-containers/buildkit-cache-dance@v3
uses: reproducible-containers/buildkit-cache-dance@5b6db76d1da5c8b307d5d2e0706d266521b710de # v3.1.2
if: ${{ inputs.cache }}
with:
cache-map: |
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
go-version-file: 'go.mod'
cache: false

- uses: golangci/golangci-lint-action@v6
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.60
args: --timeout=10m
Expand Down Expand Up @@ -130,8 +130,9 @@ jobs:
echo 'EOF'
} >> $GITHUB_OUTPUT
- name: Comment PR
uses: thollander/actions-comment-pull-request@v2
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
with:
pr_number: ${{ github.event.pull_request.number }}
comment_tag: cov
github-token: ${{ secrets.GH_PAT }}
message: ${{ steps.cov.outputs.report }}
pr-number: ${{ github.event.pull_request.number }}
comment-tag: cov
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
repository: ${{ github.repository_owner }}/kyber-applications
token: ${{ secrets.GH_PAT }}
- uses: crazy-max/ghaction-import-gpg@v6
- uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE }}
git_user_signingkey: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-bump-go-mod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:
[ $((++try)) -gt 3 ] && exit 1
done
go mod tidy
- uses: crazy-max/ghaction-import-gpg@v6
- uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE }}
git_user_signingkey: true
git_commit_gpgsign: true
fingerprint: ${{ secrets.GPG_PUBLIC }}
- id: pr
uses: peter-evans/create-pull-request@v7
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
token: ${{ secrets.GH_PAT }}
commit-message: 'chore: bump ${{ github.event.repository.name }} to ${{ github.ref_name }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
VERSION: ${{ needs.prepare.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: softprops/action-gh-release@v2
- uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
with:
body: ${{ inputs.release_body }}
name: ${{ inputs.release_name ||
Expand Down

0 comments on commit bb72594

Please sign in to comment.