Skip to content

Commit 9537445

Browse files
Pin GitHub Actions to full-length commit SHAs (#79)
* Pin GitHub Actions to full-length commit SHAs * Add space to trigger disabled CI jobs --------- Co-authored-by: Andrea Spadaccini <andrea.spadaccini@gmail.com>
1 parent daefd7a commit 9537445

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ updates:
88
directory: "/"
99
schedule:
1010
interval: "daily"
11+
cooldown:
12+
default-days: 7

‎.github/workflows/CI.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2020

2121
- name: Restore
2222
run: tools/restore.ps1
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: windows-latest
3131

3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
3434

3535
- name: Restore
3636
run: tools/restore.ps1

‎.github/workflows/detailed-tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- {pwsh: 6.0.4, ubuntu: 16.04}
2424

2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2727
- name: Build the Docker image
2828
run: |
2929
export VERSION=${{ matrix.versions.pwsh }}

‎.github/workflows/powershell.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
name: PSScriptAnalyzer
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2323

2424
- name: Run PSScriptAnalyzer
25-
uses: microsoft/psscriptanalyzer-action@6b2948b1944407914a58661c49941824d149734f
25+
uses: microsoft/psscriptanalyzer-action@6b2948b1944407914a58661c49941824d149734f # v1.1
2626
with:
2727
# Check https://github.com/microsoft/action-psscriptanalyzer for more info about the options.
2828
# The below set up runs PSScriptAnalyzer to your entire repository and runs some basic security rules.
@@ -34,6 +34,6 @@ jobs:
3434

3535
# Upload the SARIF file generated in the previous step
3636
- name: Upload SARIF results file
37-
uses: github/codeql-action/upload-sarif@v3
37+
uses: github/codeql-action/upload-sarif@42947a340483f03ba47bb1a039b2c519aab3df85 # v3.37.8
3838
with:
3939
sarif_file: results.sarif

0 commit comments

Comments
 (0)