From: Soeren Apel Date: Thu, 22 Aug 2024 21:23:22 +0000 (+0200) Subject: build.yml: Add version for github-script X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=036609e542816de6f6b435fb8bae734a821e5141;p=sigrok-cli.git build.yml: Add version for github-script --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7882e18..8f2af54 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Get PR hash id: sha - uses: actions/github-script + uses: actions/github-script@v7 with: result-encoding: string script: | @@ -33,7 +33,7 @@ jobs: return pr.data.head.sha - name: Create pending status check - uses: actions/github-script + uses: actions/github-script@v7 with: script: | github.rest.repos.createCommitStatus({ @@ -58,7 +58,7 @@ jobs: steps: - name: Get PR hash id: sha - uses: actions/github-script + uses: actions/github-script@v7 with: result-encoding: string script: | @@ -71,7 +71,7 @@ jobs: return pr.data.head.sha - name: Update status - uses: actions/github-script + uses: actions/github-script@v7 with: script: | github.rest.repos.createCommitStatus({ @@ -95,7 +95,7 @@ jobs: steps: - name: Get PR hash id: sha - uses: actions/github-script + uses: actions/github-script@v7 with: result-encoding: string script: | @@ -108,7 +108,7 @@ jobs: return pr.data.head.sha - name: Update status - uses: actions/github-script + uses: actions/github-script@v7 with: script: | github.rest.repos.createCommitStatus({