Skip to content

Commit e4e6907

Browse files
authored
[SEC-7924] chore: pin third-party GitHub Actions to commit SHAs (#131)
Pin all third-party GitHub Actions to full-length commit SHAs to prevent supply chain attacks. Addresses findings from the third-party-action-not-pinned-to-commit-sha Semgrep rule.
1 parent 2be5b3d commit e4e6907

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
with:
115115
name: targets
116116
path: targets
117-
- uses: ruby/setup-ruby@v1
117+
- uses: ruby/setup-ruby@3ff19f5e2baf30647122352b96108b1fbe250c64 # v1
118118
with:
119119
ruby-version: '2.7'
120120
- name: Prepare RubyGems / ffi

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
matrix:
8080
repo: ['api-client-go', 'api-client-java', 'api-client-python', 'api-client-ruby', 'api-client-typescript']
8181
steps:
82-
- uses: ncipollo/release-action@v1.14.0
82+
- uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0
8383
with:
8484
repo: ${{ matrix.repo }}
8585
token: ${{ secrets.BOT_TOKEN }}

0 commit comments

Comments
 (0)