Skip to content

Commit a9ce225

Browse files
committed
Pin all actions to SHAs
1 parent 6fd0b61 commit a9ce225

File tree

5 files changed

+30
-30
lines changed

5 files changed

+30
-30
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121

2222
steps:
2323
- name: Clone the repo
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2525
with:
2626
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2727

2828
- name: Set up .NET
29-
uses: actions/setup-dotnet@v4
29+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
3030
with:
3131
dotnet-version: |
3232
9.0.x
@@ -38,7 +38,7 @@ jobs:
3838
run: sudo apt-get install -y mono-devel
3939

4040
- name: Set up Node.js
41-
uses: actions/setup-node@v3
41+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
4242
with:
4343
node-version: '20'
4444

@@ -71,7 +71,7 @@ jobs:
7171
7272
- name: Upload test results artifact
7373
if: always()
74-
uses: actions/upload-artifact@v4
74+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7575
with:
7676
name: testresults-${{ matrix.os }}-${{ matrix.configuration }}
7777
path: testresults/**

.github/workflows/code-coverage.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ jobs:
1010
publish-coverage:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414
- name: Setup .NET
15-
uses: actions/setup-dotnet@v4
15+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
1616
with:
1717
dotnet-version: |
1818
9.0.x
1919
8.0.x
2020
2121
- name: Download test results
22-
uses: actions/download-artifact@v4
22+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
2323
with:
2424
pattern: testresults-*
2525

@@ -36,14 +36,14 @@ jobs:
3636
toolpath: "reportgeneratortool"
3737

3838
- name: Upload combined coverage XML
39-
uses: actions/upload-artifact@v4
39+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4040
with:
4141
name: coverage
4242
path: ${{ github.workspace }}/report
4343
retention-days: 7
4444

4545
- name: Publish code coverage report
46-
uses: irongut/[email protected]
46+
uses: irongut/CodeCoverageSummary@51cc3a756ddcd398d447c044c02cb6aa83fdae95 # v1.3.0
4747
with:
4848
filename: "report/Cobertura.xml"
4949
badge: true
@@ -56,7 +56,7 @@ jobs:
5656
thresholds: "60 80"
5757

5858
- name: Upload combined coverage markdown
59-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6060
with:
6161
name: coverage-markdown
6262
path: ${{ github.workspace }}/code-coverage-results.md

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,21 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131

3232
- name: .NET Setup
33-
uses: actions/setup-dotnet@v4
33+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
3434
with:
3535
dotnet-version: 9.x
3636

3737
- name: Generate documentation
3838
run: make generate-docs
3939

4040
- name: Upload Pages artifact
41-
uses: actions/upload-pages-artifact@v3
41+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
4242
with:
4343
path: 'artifacts/_site'
4444

4545
- name: Deploy to GitHub Pages
4646
id: deployment
47-
uses: actions/deploy-pages@v4
47+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.github/workflows/markdown-link-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@main
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020

2121
- name: Markup Link Checker (mlc)
22-
uses: becheran/[email protected]
22+
uses: becheran/mlc@c925f90a9a25e16e4c4bfa29058f6f9ffa9f0d8c # v0.21.0
2323
with:
2424
# Ignore external links that result in 403 errors during CI. Do not warn for redirects where we want to keep the vanity URL in the markdown or for GitHub links that redirect to the login.
2525
args: --ignore-links "https://www.anthropic.com/*,https://hackerone.com/anthropic-vdp/*" --do-not-warn-for-redirect-to "https://modelcontextprotocol.io/*,https://github.com/login?*" ./

.github/workflows/release.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ jobs:
4545

4646
steps:
4747
- name: Clone the repo
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4949
with:
5050
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
5151

5252
- name: Set up .NET
53-
uses: actions/setup-dotnet@v4
53+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
5454
with:
5555
dotnet-version: 9.0.x
5656

@@ -71,10 +71,10 @@ jobs:
7171
version_suffix_args: ${{ github.event_name != 'release' && format('--version-suffix "{0}"', inputs.version_suffix_override || format('ci.{0}', github.run_number)) || '' }}
7272

7373
steps:
74-
- uses: actions/checkout@v4
74+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7575

7676
- name: Setup .NET
77-
uses: actions/setup-dotnet@v2
77+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
7878
with:
7979
dotnet-version: |
8080
9.0.x
@@ -87,7 +87,7 @@ jobs:
8787
--output "${{ github.workspace }}/artifacts/packages"
8888

8989
- name: Upload artifact
90-
uses: actions/upload-artifact@v4
90+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9191
if: ${{ !cancelled() }}
9292
with:
9393
name: build-artifacts
@@ -101,15 +101,15 @@ jobs:
101101
packages: write
102102

103103
steps:
104-
- uses: actions/checkout@v4
104+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
105105

106106
- name: Setup .NET
107-
uses: actions/setup-dotnet@v2
107+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
108108
with:
109109
dotnet-version: 9.0.x
110110

111111
- name: Download build artifacts
112-
uses: actions/download-artifact@v4
112+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
113113

114114
- name: Authenticate to GitHub registry
115115
run: dotnet nuget add source
@@ -136,15 +136,15 @@ jobs:
136136
packages: write
137137

138138
steps:
139-
- uses: actions/checkout@v4
139+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
140140

141141
- name: Setup .NET
142-
uses: actions/setup-dotnet@v2
142+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
143143
with:
144144
dotnet-version: 9.0.x
145145

146146
- name: Download build artifacts
147-
uses: actions/download-artifact@v4
147+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
148148

149149
- name: Upload release asset
150150
run: gh release upload ${{ github.event.release.tag_name }}
@@ -159,15 +159,15 @@ jobs:
159159
runs-on: ubuntu-latest
160160

161161
steps:
162-
- uses: actions/checkout@v4
162+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
163163

164164
- name: Setup .NET
165-
uses: actions/setup-dotnet@v2
165+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
166166
with:
167167
dotnet-version: 9.0.x
168168

169169
- name: Download build artifacts
170-
uses: actions/download-artifact@v4
170+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
171171

172172
- name: Publish to NuGet.org (Releases only)
173173
run: dotnet nuget push

0 commit comments

Comments
 (0)