Skip to content

Commit bafd64c

Browse files
authored
Update Github ci actions to latest versions (#1707)
1 parent 41190c2 commit bafd64c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/create-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repo
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
- name: Run create_release.py
2020
run: python3 scripts/create_release.py -r ${{ inputs.lto-sha }} -a ${{ inputs.nonlto-sha }} --gh-action
2121
- name: Create PR
2222
id: cpr
23-
uses: peter-evans/create-pull-request@v6
23+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
2424
with:
2525
token: ${{ secrets.EMSCRIPTEN_BOT_TOKEN }}
2626
title: Release ${{ env.RELEASE_VERSION }}

.github/workflows/tag-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
- name: Match message and create tag
2727
id: create-tag
28-
uses: actions/github-script@v7
28+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
2929
with:
3030
github-token: ${{ secrets.EMSCRIPTEN_BOT_TOKEN }}
3131
# A commit with the message of the form 'Release X.Y.Z' is expected
@@ -58,14 +58,14 @@ jobs:
5858
if: ${{ needs.tag-release.outputs.is_release == 'true' }}
5959
steps:
6060
- name: Checkout repo
61-
uses: actions/checkout@v4
61+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6262
- name: Find emscripten revision
6363
# get_emscripten_revision_info.py sets env.EMSCRIPTEN_HASH to the
6464
# emscripten hash associated with the latest release in
6565
# emscripten-releases-tags.json
6666
run: python3 scripts/get_emscripten_revision_info.py
6767
- name: Dispatch emscripten workflow
68-
uses: actions/github-script@v7
68+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
6969
with:
7070
github-token: ${{ secrets.EMSCRIPTEN_BOT_TOKEN }}
7171
script: |

0 commit comments

Comments
 (0)