Skip to content

Commit d53e547

Browse files
Pin GitHub Actions to full-length commit SHAs
1 parent ba8b420 commit d53e547

5 files changed

Lines changed: 28 additions & 17 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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

‎.github/workflows/ci-test.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v7
30+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3131

3232
- name: Install dotnet
33-
uses: actions/setup-dotnet@v5
33+
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
3434
with:
3535
cache: true
3636
cache-dependency-path: '**/*.csproj'
@@ -41,7 +41,7 @@ jobs:
4141
run: ./tools/installPSResources.ps1
4242

4343
- name: Download PowerShell install script
44-
uses: actions/checkout@v7
44+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4545
with:
4646
repository: PowerShell/PowerShell
4747
path: pwsh
@@ -69,13 +69,13 @@ jobs:
6969

7070
- name: Upload build artifacts
7171
if: always()
72-
uses: actions/upload-artifact@v7
72+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7373
with:
7474
name: PowerShellEditorServices-module-${{ matrix.os }}
7575
path: module
7676

7777
- name: Upload test results
78-
uses: actions/upload-artifact@v7
78+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7979
if: always()
8080
with:
8181
name: PowerShellEditorServices-test-results-${{ matrix.os }}

‎.github/workflows/close-stale-issues.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
stale-resolved-issues:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/stale@v10
14+
- uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4.0
1515
name: Label resolved issues as needing fix verification
1616
with:
1717
any-of-labels: "Resolution-Answered,Resolution-Duplicate,Resolution-External,Resolution-Fixed,Resolution-Inactive"
@@ -23,7 +23,7 @@ jobs:
2323
stale-fixed-issues:
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/stale@v10
26+
- uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4.0
2727
name: Close issues needing fix verification after 1 week of inactivity
2828
with:
2929
stale-issue-label: "Needs: Fix Verification"
@@ -34,7 +34,7 @@ jobs:
3434
stale-feedback-issues:
3535
runs-on: ubuntu-latest
3636
steps:
37-
- uses: actions/stale@v10
37+
- uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4.0
3838
name: Close issues needing author feedback after 1 week of inactivity
3939
with:
4040
stale-issue-label: "Needs: Author Feedback"

‎.github/workflows/emacs-test.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v7
24+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525

2626
- name: Install dotnet
27-
uses: actions/setup-dotnet@v5
27+
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
2828
with:
2929
cache: true
3030
cache-dependency-path: '**/*.csproj'
@@ -38,7 +38,7 @@ jobs:
3838
run: Invoke-Build Build
3939

4040
- name: Install Emacs
41-
uses: purcell/setup-emacs@v8.0
41+
uses: purcell/setup-emacs@bdc64dc730ae1fcba200bfd52cb1b4cf6159cbe5 # v8.0
4242
with:
4343
version: '28.2'
4444

‎.github/workflows/vim-test.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v7
24+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525

2626
- name: Install dotnet
27-
uses: actions/setup-dotnet@v5
27+
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
2828
with:
2929
cache: true
3030
cache-dependency-path: '**/*.csproj'
@@ -39,18 +39,18 @@ jobs:
3939

4040
- name: Install Vim
4141
id: vim
42-
uses: rhysd/action-setup-vim@v1
42+
uses: rhysd/action-setup-vim@febef33995d6649302e9d88dda81e071b68f16a7 # v1.6.1
4343
with:
4444
version: nightly
4545

4646
- name: Checkout vim-ps1
47-
uses: actions/checkout@v7
47+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4848
with:
4949
repository: PProvost/vim-ps1
5050
path: vim-ps1
5151

5252
- name: Checkout LanguageClient-neovim
53-
uses: actions/checkout@v7
53+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5454
with:
5555
repository: autozimu/LanguageClient-neovim
5656
path: LanguageClient-neovim
@@ -60,7 +60,7 @@ jobs:
6060
working-directory: LanguageClient-neovim
6161

6262
- name: Checkout Themis
63-
uses: actions/checkout@v7
63+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6464
with:
6565
repository: thinca/vim-themis
6666
path: vim-themis

0 commit comments

Comments
 (0)