]> sigrok.org Git - sigrok-cli.git/commitdiff
build.yml: Add version for github-script
authorSoeren Apel <redacted>
Thu, 22 Aug 2024 21:23:22 +0000 (23:23 +0200)
committerSoeren Apel <redacted>
Thu, 22 Aug 2024 21:23:22 +0000 (23:23 +0200)
.github/workflows/build.yml

index 7882e18ffade2994568677e09f6d137820a1572e..8f2af548afc2fbf616face38685f29f63e76315d 100644 (file)
@@ -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({