Skip to content

Commit 5cb857d

Browse files
Pin GitHub Actions to full-length commit SHAs (#636)
1 parent d90bae5 commit 5cb857d

6 files changed

Lines changed: 34 additions & 32 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ updates:
3434
groups:
3535
github-actions:
3636
patterns: ["*"]
37+
cooldown:
38+
default-days: 7

‎.github/workflows/azure-login-canary.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3434

3535
- name: 'Az CLI login with subscription'
36-
uses: azure/login@v3
36+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
3737
with:
3838
creds: ${{ secrets.AZURE_CREDENTIALS }}
3939

4040
- run: |
4141
az account show --output none
4242
4343
- name: 'Az CLI login without subscription'
44-
uses: azure/login@v3
44+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
4545
with:
4646
creds: ${{ secrets.AZURE_CREDENTIALS }}
4747
allow-no-subscriptions: true
@@ -50,7 +50,7 @@ jobs:
5050
az account show --output none
5151
5252
- name: 'Az CLI login with subscription OIDC'
53-
uses: azure/login@v3
53+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
5454
with:
5555
client-id: ${{ secrets.AZURE_CLIENTID }}
5656
tenant-id: ${{ secrets.AZURE_TENANTID }}
@@ -60,7 +60,7 @@ jobs:
6060
az account show --output none
6161
6262
- name: 'Az CLI login without subscription OIDC'
63-
uses: azure/login@v3
63+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
6464
with:
6565
client-id: ${{ secrets.AZURE_CLIENTID }}
6666
tenant-id: ${{ secrets.AZURE_TENANTID }}

‎.github/workflows/azure-login-integration-tests.yml‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
# continue-on-error: true
1515
steps:
1616
- name: 'Az CLI login with subscription'
17-
uses: azure/login@v3
17+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
1818
with:
1919
creds: ${{ secrets.AZURE_CREDENTIALS }}
2020

@@ -23,7 +23,7 @@ jobs:
2323
az vm list --output none
2424
2525
- name: 'Az CLI login without subscription'
26-
uses: azure/login@v3
26+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
2727
with:
2828
creds: ${{ secrets.AZURE_CREDENTIALS }}
2929
allow-no-subscriptions: true
@@ -32,24 +32,24 @@ jobs:
3232
az account show --output none
3333
3434
- name: 'Azure PowerShell login with subscription'
35-
uses: azure/login@v3
35+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
3636
with:
3737
creds: ${{ secrets.AZURE_CREDENTIALS }}
3838
enable-AzPSSession: true
3939

40-
- uses: azure/powershell@v3
40+
- uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
4141
with:
4242
inlineScript: "(Get-AzContext).Environment.Name"
4343
azPSVersion: "latest"
4444

4545
- name: 'Azure PowerShell login without subscription'
46-
uses: azure/login@v3
46+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
4747
with:
4848
creds: ${{secrets.AZURE_CREDENTIALS}}
4949
enable-AzPSSession: true
5050
allow-no-subscriptions: true
5151

52-
- uses: azure/powershell@v3
52+
- uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
5353
with:
5454
inlineScript: "(Get-AzContext).Environment.Name"
5555
azPSVersion: "latest"
@@ -59,7 +59,7 @@ jobs:
5959
# continue-on-error: true
6060
steps:
6161
- name: 'Az CLI login with subscription'
62-
uses: azure/login@v3
62+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
6363
with:
6464
client-id: ${{ secrets.AZURE_CLIENTID }}
6565
tenant-id: ${{ secrets.AZURE_TENANTID }}
@@ -70,7 +70,7 @@ jobs:
7070
az vm list --output none
7171
7272
- name: 'Az CLI login without subscription'
73-
uses: azure/login@v3
73+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
7474
with:
7575
client-id: ${{ secrets.AZURE_CLIENTID }}
7676
tenant-id: ${{ secrets.AZURE_TENANTID }}
@@ -80,27 +80,27 @@ jobs:
8080
az account show --output none
8181
8282
- name: 'Azure PowerShell login with subscription'
83-
uses: azure/login@v3
83+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
8484
with:
8585
client-id: ${{ secrets.AZURE_CLIENTID }}
8686
tenant-id: ${{ secrets.AZURE_TENANTID }}
8787
subscription-id: ${{ secrets.AZURE_SUBSCRIPTIONID }}
8888
enable-AzPSSession: true
8989

90-
- uses: azure/powershell@v3
90+
- uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
9191
with:
9292
inlineScript: "(Get-AzContext).Environment.Name"
9393
azPSVersion: "latest"
9494

9595
- name: 'Azure PowerShell login without subscription'
96-
uses: azure/login@v3
96+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
9797
with:
9898
client-id: ${{ secrets.AZURE_CLIENTID }}
9999
tenant-id: ${{ secrets.AZURE_TENANTID }}
100100
enable-AzPSSession: true
101101
allow-no-subscriptions: true
102102

103-
- uses: azure/powershell@v3
103+
- uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
104104
with:
105105
inlineScript: "(Get-AzContext).Environment.Name"
106106
azPSVersion: "latest"

‎.github/workflows/azure-login-live-tests.yml‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: Azure login (provisioning)
40-
uses: azure/login@v3
40+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
4141
with:
4242
creds: ${{ secrets.PROVISION_CREDS }}
4343
- name: Create resource group
@@ -83,7 +83,7 @@ jobs:
8383
az group show --name "${{ env.RG_POSITIVE }}" --output none
8484
8585
- name: Run Azure PowerShell
86-
uses: azure/powershell@v3
86+
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
8787
with:
8888
azPSVersion: "latest"
8989
inlineScript: |
@@ -105,7 +105,7 @@ jobs:
105105
az account show --output none
106106
107107
- name: Run Azure PowerShell again
108-
uses: azure/powershell@v3
108+
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
109109
with:
110110
azPSVersion: "latest"
111111
inlineScript: |
@@ -127,7 +127,7 @@ jobs:
127127
az group show --name "${{ env.RG_POSITIVE }}" --output none
128128
129129
- name: Run Azure PowerShell
130-
uses: azure/powershell@v3
130+
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
131131
with:
132132
azPSVersion: "latest"
133133
inlineScript: |
@@ -194,7 +194,7 @@ jobs:
194194
az group show --name "${{ env.RG_POSITIVE }}" --output none
195195
196196
- name: Run Azure PowerShell
197-
uses: azure/powershell@v3
197+
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
198198
with:
199199
azPSVersion: "latest"
200200
inlineScript: |
@@ -217,7 +217,7 @@ jobs:
217217
az account show --output none
218218
219219
- name: Run Azure PowerShell again
220-
uses: azure/powershell@v3
220+
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
221221
with:
222222
azPSVersion: "latest"
223223
inlineScript: |
@@ -243,7 +243,7 @@ jobs:
243243
}
244244
245245
- name: Run Azure PowerShell
246-
uses: azure/powershell@v3
246+
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
247247
with:
248248
azPSVersion: "latest"
249249
inlineScript: |
@@ -264,7 +264,7 @@ jobs:
264264
az account show --output none
265265
266266
- name: Run Azure PowerShell
267-
uses: azure/powershell@v3
267+
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
268268
with:
269269
azPSVersion: "latest"
270270
inlineScript: |
@@ -344,7 +344,7 @@ jobs:
344344
az group list --output none
345345
346346
- name: Run Azure PowerShell again
347-
uses: azure/powershell@v3
347+
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
348348
with:
349349
azPSVersion: "latest"
350350
inlineScript: |
@@ -401,7 +401,7 @@ jobs:
401401
- name: Run Azure PowerShell
402402
id: ps_3
403403
continue-on-error: true
404-
uses: azure/powershell@v3
404+
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
405405
with:
406406
azPSVersion: "latest"
407407
inlineScript: |
@@ -529,7 +529,7 @@ jobs:
529529
- name: Run Azure PowerShell
530530
id: ps_8
531531
continue-on-error: true
532-
uses: azure/powershell@v3
532+
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
533533
with:
534534
azPSVersion: "latest"
535535
inlineScript: |
@@ -557,7 +557,7 @@ jobs:
557557
- name: Run Azure PowerShell
558558
id: ps_9
559559
continue-on-error: true
560-
uses: azure/powershell@v3
560+
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
561561
with:
562562
azPSVersion: "latest"
563563
inlineScript: |
@@ -686,7 +686,7 @@ jobs:
686686
runs-on: ubuntu-latest
687687
steps:
688688
- name: Azure login (provisioning)
689-
uses: azure/login@v3
689+
uses: azure/login@7ddb5af1ef8758cf1353cf3b42f940aee27ba21c # v3.0.2
690690
with:
691691
creds: ${{ secrets.PROVISION_CREDS }}
692692
- name: Delete resource group

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
*) echo "::error::ref '$REF' not permitted for release (allowed: master, or a hotfix/* branch based on the latest release tag for a back-major release)"; exit 1 ;;
7171
esac
7272
73-
- uses: actions/checkout@v6
73+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
7474
with:
7575
ref: ${{ inputs.ref }} # master for the current major; a hotfix/* branch for a back-major release
7676
fetch-depth: 0
@@ -94,7 +94,7 @@ jobs:
9494
ver=$(grep "using:" action.yml | grep -oE "node[0-9]+" | grep -oE "[0-9]+" | head -1)
9595
echo "version=$ver" >> "$GITHUB_OUTPUT"
9696
97-
- uses: actions/setup-node@v6
97+
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
9898
with:
9999
node-version: ${{ steps.node.outputs.version }} # matches action.yml runs.using
100100
cache: npm

‎.github/workflows/rollback.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
exit 1
5858
fi
5959
60-
- uses: actions/checkout@v6
60+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
6161
with:
6262
fetch-depth: 0
6363
fetch-tags: true

0 commit comments

Comments
 (0)