-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(tools): pin gh actions commit version
- Loading branch information
1 parent
2dd54ff
commit 36e95ca
Showing
3 changed files
with
12 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | ||
|
||
- name: Check if SWC update is required | ||
id: version-check | ||
|
@@ -49,7 +49,7 @@ jobs: | |
|
||
- name: Create Pull Request with first commit | ||
if: steps.version-check.outputs.UPDATE_REQUIRED == 'true' | ||
uses: gr2m/[email protected] | ||
uses: gr2m/create-or-update-pull-request-action@86ec1766034c8173518f61d2075cc2a173fb8c97 # v1.9.4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|
@@ -64,15 +64,15 @@ jobs: | |
- name: Set up Docker | ||
if: steps.version-check.outputs.UPDATE_REQUIRED == 'true' | ||
uses: docker/setup-buildx-action@v3 | ||
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1 | ||
|
||
- name: Build WASM | ||
if: steps.version-check.outputs.UPDATE_REQUIRED == 'true' | ||
run: node ./tools/build-wasm.js | ||
|
||
- name: Create second commit | ||
if: steps.version-check.outputs.UPDATE_REQUIRED == 'true' | ||
uses: gr2m/[email protected] | ||
uses: gr2m/create-or-update-pull-request-action@86ec1766034c8173518f61d2075cc2a173fb8c97 # v1.9.4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|