File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ groups :
6+ github-actions :
7+ patterns : ["*"]
8+ schedule :
9+ interval : " weekly"
10+ cooldown :
11+ default-days : 7
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ jobs:
2626 name : " Audit Codebase"
2727 steps :
2828 - name : Checkout code
29- uses : actions/checkout@v4
29+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
3030
3131 - name : Log in to Azure (OIDC)
32- uses : azure/login@v2
32+ uses : azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
3333 with :
3434 client-id : ${{ vars.AZURE_CLIENT_ID }}
3535 tenant-id : ${{ vars.AZURE_TENANT_ID }}
5858 output : security-audit.md
5959
6060 - name : Upload as artifact
61- uses : actions/upload-artifact@v4
61+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6262 with :
6363 name : security-audit
6464 path : security-audit.md
Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ jobs:
2727 AZURE_LOCATION : ${{ vars.AZURE_LOCATION }}
2828 steps :
2929 - name : Checkout
30- uses : actions/checkout@v4
30+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
3131
3232 - name : Setup Node.js v20
33- uses : actions/setup-node@v4
33+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3434 with :
3535 node-version : 20
3636
3737 - name : Install azd
38- uses : Azure/setup-azd@v2
38+ uses : Azure/setup-azd@0b7e3a35ab00f2eee7080c845eb39c3f0ebfa553 # v2.4.0
3939
4040 - name : Log in with Azure (Federated Credentials)
4141 run : |
Original file line number Diff line number Diff line change 1616 runs-on : ${{ matrix.platform }}
1717 steps :
1818 - run : git config --global core.autocrlf false
19- - uses : actions/checkout@v4
19+ - uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2020 - name : Setup Node.js v${{ matrix.node-version }}
21- uses : actions/setup-node@v4
21+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2222 with :
2323 node-version : ${{ matrix.node-version }}
2424 - name : Install dependencies
Original file line number Diff line number Diff line change @@ -15,22 +15,22 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - name : Checkout
18- uses : actions/checkout@v4
18+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
1919
2020 - name : Build Bicep for linting
21- uses : azure/CLI@v2
21+ uses : azure/CLI@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
2222 with :
2323 inlineScript : az config set bicep.use_binary_from_path=false && az bicep build -f infra/main.bicep --stdout
2424
2525 - name : Run Microsoft Security DevOps Analysis
26- uses : microsoft/security-devops-action@v1
26+ uses : microsoft/security-devops-action@5b26a185ff02cf7c100778adeff0ebbf704ca144 # v1
2727 id : msdo
2828 continue-on-error : true
2929 with :
3030 tools : templateanalyzer
3131
3232 - name : Upload alerts to Security tab
3333 if : github.repository_owner == 'Azure-Samples'
34- uses : github/codeql-action/upload-sarif@v3
34+ uses : github/codeql-action/upload-sarif@6f5948dfacef28e207b48d0905cf90c03365536d # v3.37.9
3535 with :
3636 sarif_file : ${{ steps.msdo.outputs.sarifFile }}
You can’t perform that action at this time.
0 commit comments