Skip to content

Commit 59555e5

Browse files
Pin GitHub Actions to full-length commit SHAs
1 parent faad3a4 commit 59555e5

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,12 @@ updates:
1313
ignore:
1414
- dependency-name: "System.Management.Automation"
1515
- dependency-name: "PowerShellStandard.Library"
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
groups:
19+
github-actions:
20+
patterns: ["*"]
21+
schedule:
22+
interval: "weekly"
23+
cooldown:
24+
default-days: 7

.github/workflows/ci-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2323

2424
- name: Install dotnet
25-
uses: actions/setup-dotnet@v4
25+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
2626
with:
2727
cache: true
2828
cache-dependency-path: '**/*.csproj'
@@ -51,7 +51,7 @@ jobs:
5151
shell: powershell
5252

5353
- name: Download PowerShell install script
54-
uses: actions/checkout@v4
54+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
5555
with:
5656
repository: PowerShell/PowerShell
5757
path: pwsh
@@ -70,14 +70,14 @@ jobs:
7070
shell: pwsh
7171

7272
- name: Upload build artifacts
73-
uses: actions/upload-artifact@v4
73+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7474
if: always()
7575
with:
7676
name: PSScriptAnalyzer-package-${{ matrix.os }}
7777
path: out/**/*.nupkg
7878

7979
- name: Upload test results
80-
uses: actions/upload-artifact@v4
80+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
8181
if: always()
8282
with:
8383
name: PSScriptAnalyzer-tests-${{ matrix.os }}

0 commit comments

Comments
 (0)