diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b065991582..bd4d6ed986 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: docker push ${IMAGE_BASE} --all-tags - name: Lukk gamle bygg-issues - uses: actions/github-script@v4.0.2 + uses: actions/github-script@v6.4.1 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -72,7 +72,7 @@ jobs: - name: Opprett issue, trigg deploy til dev-gcp if: success() - uses: actions/github-script@v4.0.2 + uses: actions/github-script@v6.4.1 with: github-token: ${{secrets.NOTIFICATION}} script: | diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 529b1f8f04..1d74690044 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Henter informasjon fra issuet id: issue_comment - uses: actions/github-script@v5 + uses: actions/github-script@v6.4.1 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -45,7 +45,7 @@ jobs: - name: Oppdater kommentar med deployment status ved feil if: failure() - uses: actions/github-script@v5 + uses: actions/github-script@v6.4.1 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -59,7 +59,7 @@ jobs: - name: Oppdater kommentar med deployment status if: success() - uses: actions/github-script@v5 + uses: actions/github-script@v6.4.1 with: github-token: ${{secrets.GITHUB_TOKEN}} script: |