Skip to content

Commit 3b76e2d

Browse files
authored
Merge pull request #336 from Adyen/copilot/pin-github-actions-commit-sha
Pin GitHub Actions to immutable commit SHAs
2 parents aab4bfe + dd436c9 commit 3b76e2d

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v6
23+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
2424

2525
- name: Initialize CodeQL
26-
uses: github/codeql-action/init@v3
26+
uses: github/codeql-action/init@c37a8b7cd97e31de3fcbd9d84c401870edeb8d34 # v3
2727
with:
2828
languages: ${{ matrix.language }}
2929
queries: +security-and-quality
3030

3131
- name: Autobuild
32-
uses: github/codeql-action/autobuild@v3
32+
uses: github/codeql-action/autobuild@c37a8b7cd97e31de3fcbd9d84c401870edeb8d34 # v3
3333

3434
- name: Perform CodeQL Analysis
35-
uses: github/codeql-action/analyze@v3
35+
uses: github/codeql-action/analyze@c37a8b7cd97e31de3fcbd9d84c401870edeb8d34 # v3
3636
with:
3737
category: "/language:${{ matrix.language }}"

.github/workflows/label_new_issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Add 'needs response' label to new issues
11-
uses: actions-ecosystem/action-add-labels@v1
11+
uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1
1212
with:
1313
github_token: ${{ secrets.GITHUB_TOKEN }}
1414
labels: 'needs response'

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
pull-requests: write
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v6
31+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
3232
- name: Prepare the next main release
33-
uses: Adyen/[email protected]
33+
uses: Adyen/release-automation-action@3e5694d5b365f344a62436e84049511ef318ecf5 # v1.4.0
3434
with:
3535
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
3636
develop-branch: main

.github/workflows/ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
ruby: [2.7, '3.0', 3.1, 3.2, head]
1313
runs-on: ${{ matrix.os }}
1414
steps:
15-
- uses: actions/checkout@v6
16-
- uses: ruby/setup-ruby@v1
15+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
16+
- uses: ruby/setup-ruby@8a836efbcebe5de0fe86b48a775b7a31b5c70c93 # v1
1717
with:
1818
ruby-version: ${{ matrix.ruby }}
1919
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

.github/workflows/rubygems_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v6
12+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
1313
- name: Release Gem on RubyGems
1414
if: contains(github.ref, 'refs/tags/v')
15-
uses: cadwallion/[email protected]
15+
uses: cadwallion/publish-rubygems-action@94a6f4cd5350581749c569b5001eecc864e3ad0b # v1.1.0
1616
env:
1717
GITHUB_TOKEN: ${{secrets.TOKEN_RUBYGEMS_RELEASES_WITH_EXPIRATION}}
1818
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v9
10+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
1111
with:
1212
repo-token: ${{ secrets.GITHUB_TOKEN }}
1313
stale-issue-message: 'This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs.'

0 commit comments

Comments
 (0)