Skip to content

Commit 57e7208

Browse files
authored
CCM-14499: Pin GitHub Actions to SHAs (#509)
* CCM-14499: Pinning all GitHub Actions to SHAs * CCM-14499: Pinning all GitHub Actions to SHAs * CCM-14499: Pinning all GitHub Actions to SHAs * CCM-14499: Pinning all GitHub Actions to SHAs * CCM-14499: Pinning all GitHub Actions to SHAs * CCM-14499: Correct annotated tag SHA pins * CCM-14499: Pin remaining GitHub Actions refs to SHAs
1 parent ee042c2 commit 57e7208

23 files changed

+126
-139
lines changed

.github/actions/acceptance-tests/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
2424

2525
steps:
2626
- name: Fetch terraform output
27-
uses: actions/download-artifact@v5
27+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
2828
with:
2929
name: terraform-output-${{ inputs.targetComponent }}
3030

.github/actions/build-docs/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ runs:
1111
using: "composite"
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
14+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
15+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1616
with:
1717
node-version: 22
1818
registry-url: 'https://npm.pkg.github.com'
@@ -23,15 +23,15 @@ runs:
2323
run: npm ci
2424
shell: bash
2525
- name: Setup Ruby
26-
uses: ruby/setup-ruby@v1.180.1
26+
uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e # v1.180.1
2727
with:
2828
ruby-version: "3.2" # Not needed with a .ruby-version file
2929
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
3030
cache-version: 0 # Increment this number if you need to re-download cached gems
3131
working-directory: "./docs"
3232
- name: Setup Pages
3333
id: pages
34-
uses: actions/configure-pages@v5
34+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
3535
- name: Build with Jekyll
3636
working-directory: ./docs
3737
# Outputs to the './_site' directory by default
@@ -43,7 +43,7 @@ runs:
4343

4444
- name: Upload artifact
4545
# Automatically uploads an artifact from the './_site' directory by default
46-
uses: actions/upload-pages-artifact@v3
46+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
4747
with:
4848
path: "docs/_site/"
4949
name: jekyll-docs-${{ inputs.version }}

.github/actions/build-libraries/action.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ runs:
1111
using: "composite"
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
14+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
15+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1616
with:
1717
node-version: 22
1818
registry-url: 'https://npm.pkg.github.com'
@@ -31,41 +31,40 @@ runs:
3131
make build VERSION="${{ inputs.version }}"
3232
3333
- name: Upload abstractions artifact
34-
uses: actions/upload-artifact@v6
34+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
3535
with:
3636
path: "src/server/abstractions/bin/Release"
3737
name: libs-abstractions-${{ inputs.version }}
3838
include-hidden-files: true
3939

4040
- name: Upload data artifact
41-
uses: actions/upload-artifact@v6
41+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
4242
with:
4343
path: "src/server/data/bin/Release"
4444
name: libs-data-${{ inputs.version }}
4545
include-hidden-files: true
4646

4747
- name: Upload letter artifact
48-
uses: actions/upload-artifact@v6
48+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
4949
with:
5050
path: "src/server/letter/bin/Release"
5151
name: libs-letter-${{ inputs.version }}
5252
include-hidden-files: true
5353

5454
- name: Upload host artifact
55-
uses: actions/upload-artifact@v6
55+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
5656
with:
5757
path: "src/server/host/bin/Release"
5858
name: libs-host-${{ inputs.version }}
5959
include-hidden-files: true
6060

6161
- name: Set up Docker Buildx
62-
uses: docker/setup-buildx-action@v3
63-
62+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
6463
- run: mkdir -p ${{ runner.temp }}/myimage
6564
shell: bash
6665

6766
- name: Build and export
68-
uses: docker/build-push-action@v6
67+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
6968
with:
7069
context: src/server
7170
file: src/server/Dockerfile
@@ -75,7 +74,7 @@ runs:
7574
outputs: type=docker,dest=${{ runner.temp }}/myimage/myimage.tar
7675

7776
- name: Upload artifact
78-
uses: actions/upload-artifact@v6
77+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
7978
with:
8079
name: libs-host-docker-${{ inputs.version }}
8180
path: ${{ runner.temp }}/myimage

.github/actions/build-oas-spec/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ runs:
2424

2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v4
28-
- uses: actions/setup-node@v4
27+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
28+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2929
with:
3030
node-version: ${{ inputs.nodejs_version }}
3131
registry-url: 'https://npm.pkg.github.com'
3232

3333
- name: "Cache node_modules"
34-
uses: actions/cache@v4
34+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
3535
with:
3636
path: |
3737
**/node_modules
@@ -68,7 +68,7 @@ runs:
6868
fi
6969
7070
- name: Upload API OAS specification artifact
71-
uses: actions/upload-artifact@v6
71+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
7272
with:
7373
path: "build"
7474
name: api-oas-specification-${{ inputs.apimEnv }}${{ inputs.version != '' && format('-{0}', inputs.version) || '' }}

.github/actions/build-proxies/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
steps:
3737
- name: Download OAS Spec artifact from workflow
3838
if: ${{ inputs.isRelease == 'false' }}
39-
uses: actions/download-artifact@v4
39+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
4040
with:
4141
name: api-oas-specification-${{ inputs.apimEnv }}${{ inputs.version != '' && format('-{0}', inputs.version) || '' }}
4242
path: ./build
@@ -96,7 +96,7 @@ runs:
9696
echo "APIM_ENV=$APIM_ENV" >> $GITHUB_ENV
9797
9898
- name: Upload OAS Spec
99-
uses: actions/upload-artifact@v6
99+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
100100
with:
101101
name: ${{ env.APIM_ENV }}-build-output
102102
path: ./build

.github/actions/build-sandbox/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ runs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
17-
- uses: actions/setup-node@v4
16+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
17+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1818
with:
1919
node-version: 22
2020
registry-url: 'https://npm.pkg.github.com'

.github/actions/build-sdk/action.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ runs:
1111
using: "composite"
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
14+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
15+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1616
with:
1717
node-version: 22
1818
registry-url: 'https://npm.pkg.github.com'
@@ -56,43 +56,43 @@ runs:
5656
make build VERSION="${{ inputs.version }}"
5757
5858
- name: Upload html artifact
59-
uses: actions/upload-artifact@v6
59+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
6060
with:
6161
path: "sdk/html"
6262
name: sdk-html-${{ inputs.version }}
6363

6464
- name: Upload swagger artifact
65-
uses: actions/upload-artifact@v6
65+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
6666
with:
6767
path: "sdk/swagger"
6868
name: sdk-swagger-${{ inputs.version }}
6969

7070
- name: Upload ts artifact
71-
uses: actions/upload-artifact@v6
71+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
7272
with:
7373
path: "sdk/typescript"
7474
name: sdk-ts-${{ inputs.version }}
7575

7676
- name: Upload python artifact
77-
uses: actions/upload-artifact@v6
77+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
7878
with:
7979
path: "sdk/python"
8080
name: sdk-python-${{ inputs.version }}
8181

8282
- name: Upload csharp artifact
83-
uses: actions/upload-artifact@v6
83+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
8484
with:
8585
path: "sdk/csharp"
8686
name: sdk-csharp-${{ inputs.version }}
8787

8888
- name: Upload artifact
89-
uses: actions/upload-pages-artifact@v3
89+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
9090
with:
9191
path: "sdk/html/"
9292
name: sdk-html-docs-${{ inputs.version }}
9393

9494
- name: Upload swagger pages artifact
95-
uses: actions/upload-pages-artifact@v3
95+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
9696
with:
9797
path: "sdk/swagger/"
9898
name: sdk-swagger-docs-${{ inputs.version }}

.github/actions/build-server/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ runs:
1111
using: "composite"
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
14+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
15+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1616
with:
1717
node-version: 22
1818
registry-url: 'https://npm.pkg.github.com'
@@ -36,13 +36,13 @@ runs:
3636
make build VERSION="${{ inputs.version }}"
3737
3838
- name: Upload csharp-server artifact
39-
uses: actions/upload-artifact@v6
39+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
4040
with:
4141
path: "server/csharp-server"
4242
name: server-csharp-${{ inputs.version }}
4343

4444
- name: Upload csharp-server docker artifact
45-
uses: actions/upload-artifact@v6
45+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
4646
with:
4747
path: "server/Dockerfile"
4848
name: server-csharp-docker-${{ inputs.version }}

.github/actions/node-install/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: 'composite'
1111
steps:
1212
- name: 'Use Node.js'
13-
uses: actions/setup-node@v6
13+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
1414
with:
1515
node-version-file: '.tool-versions'
1616
registry-url: 'https://npm.pkg.github.com'

.github/workflows/cicd-1-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
deploy_proxy: ${{ steps.deploy_proxy.outputs.deploy_proxy }}
3434
steps:
3535
- name: "Checkout code"
36-
uses: actions/checkout@v5
36+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
3737
- name: "Set CI/CD variables"
3838
id: variables
3939
run: |

0 commit comments

Comments
 (0)