Skip to content

Commit 29601c8

Browse files
authored
Pin action commit hash (#141)
1 parent cea47be commit 29601c8

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

.github/workflows/docfx.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,28 @@ permissions:
1313
concurrency:
1414
group: "pages"
1515
cancel-in-progress: false
16-
16+
1717
jobs:
1818
publish-docs:
1919
environment:
2020
name: github-pages
2121
url: ${{ steps.deployment.outputs.page_url }}
2222
runs-on: ubuntu-latest
2323
steps:
24-
- name: Checkout
25-
uses: actions/checkout@v4
26-
- name: Dotnet Setup
27-
uses: actions/setup-dotnet@v3
28-
with:
29-
dotnet-version: 8.x
24+
- name: Checkout
25+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
- name: Dotnet Setup
27+
uses: actions/setup-dotnet@b2ace4b12f4cec1b96b6361ff2694ba9e931ceb4 # v3.3.1
28+
with:
29+
dotnet-version: 8.x
3030

31-
- run: dotnet tool update -g docfx
32-
- run: docfx docfx.json
31+
- run: dotnet tool update -g docfx
32+
- run: docfx docfx.json
3333

34-
- name: Upload artifact
35-
uses: actions/upload-pages-artifact@v3
36-
with:
37-
path: '_site'
38-
- name: Deploy to GitHub Pages
39-
id: deployment
40-
uses: actions/deploy-pages@v4
34+
- name: Upload artifact
35+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
36+
with:
37+
path: "_site"
38+
- name: Deploy to GitHub Pages
39+
id: deployment
40+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.github/workflows/dotnet-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1919

2020
- name: Setup
21-
uses: actions/setup-dotnet@v3
21+
uses: actions/setup-dotnet@b2ace4b12f4cec1b96b6361ff2694ba9e931ceb4 # v3.3.1
2222
with:
2323
dotnet-version: |
2424
8.0.x
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Codecov
4747
if: always() && steps.test.outcome != 'cancelled'
48-
uses: codecov/codecov-action@v4
48+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
4949
with:
5050
token: ${{ secrets.CODECOV_TOKEN }}
5151
directory: ./

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111

1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1515

1616
- name: Setup .NET
17-
uses: actions/setup-dotnet@v3
17+
uses: actions/setup-dotnet@b2ace4b12f4cec1b96b6361ff2694ba9e931ceb4 # v3.3.1
1818
with:
1919
dotnet-version: "8.0.x"
2020

@@ -30,7 +30,7 @@ jobs:
3030
run: dotnet nuget push "./Thirdweb/bin/Release/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
3131

3232
- name: Upload build artifacts
33-
uses: actions/upload-artifact@v4
33+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
3434
with:
3535
name: build-artifacts
3636
path: |

0 commit comments

Comments
 (0)