Skip to content

Commit 42a7242

Browse files
committed
Revert checkout and setup change
1 parent f56060c commit 42a7242

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/publish-release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ jobs:
3636
needs: build
3737
runs-on: ubuntu-latest
3838
steps:
39-
- name: Checkout repository
40-
uses: actions/checkout@v6
39+
- name: Checkout and setup environment
40+
uses: MetaMask/action-checkout-and-setup@v3
4141
with:
42+
is-high-risk-environment: true
4243
ref: ${{ github.sha }}
4344
- name: Restore build artifacts
4445
uses: actions/download-artifact@v8
@@ -59,9 +60,10 @@ jobs:
5960
runs-on: ubuntu-latest
6061
environment: npm-publish
6162
steps:
62-
- name: Checkout repository
63-
uses: actions/checkout@v6
63+
- name: Checkout and setup environment
64+
uses: MetaMask/action-checkout-and-setup@v3
6465
with:
66+
is-high-risk-environment: true
6567
ref: ${{ github.sha }}
6668
- name: Restore build artifacts
6769
uses: actions/download-artifact@v8
@@ -113,7 +115,7 @@ jobs:
113115
PUBLISH_DOCS_TOKEN: ${{ secrets.PUBLISH_DOCS_TOKEN }}
114116

115117
publish-release:
116-
name: Publish release to GitHub
118+
name: Publish to GitHub
117119
needs: publish-npm
118120
permissions:
119121
contents: write

0 commit comments

Comments
 (0)