Upgrade GitHub Actions for Node 24 compatibility (#392)

Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
This commit is contained in:
Salman Chishti 2026-02-12 15:31:10 +00:00 • committed by GitHub
commit a4fda18caa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ jobs:
- name: Get PR branch
if: github.event_name == 'issue_comment'
id: pr
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const pr = await github.rest.pulls.get({
@ -38,7 +38,7 @@ jobs:
- name: Add reaction to comment
if: github.event_name == 'issue_comment'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
await github.rest.reactions.createForIssueComment({
@ -48,7 +48,7 @@ jobs:
content: 'rocket'
});
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.branch || steps.pr.outputs.ref || github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
@ -57,7 +57,7 @@ jobs:
with:
bun-version: latest
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "20"
@ -88,7 +88,7 @@ jobs:
- name: Comment on PR
if: github.event_name == 'issue_comment'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const changed = '${{ steps.commit.outputs.changed }}' === 'true';