diff --git a/.github/workflows/deploy-Production.yml b/.github/workflows/deploy-Production.yml index f2fa021b..cd4617aa 100644 --- a/.github/workflows/deploy-Production.yml +++ b/.github/workflows/deploy-Production.yml @@ -262,7 +262,7 @@ jobs: ####################################################### - name: Create GitHub Issue for failure if: ${{ github.repository == 'github/super-linter' && github.ref == 'refs/heads/main' && failure() }} - uses: actions/github-script@v5 + uses: actions/github-script@v6 id: create-issue with: # https://octokit.github.io/rest.js/v18#issues-create @@ -281,7 +281,7 @@ jobs: # Deploy was failure, alert admins # #################################### - name: Assign Admins on failure - uses: actions/github-script@v5 + uses: actions/github-script@v6 if: ${{ github.repository == 'github/super-linter' && github.ref == 'refs/heads/main' && failure() }} with: # https://octokit.github.io/rest.js/v18#issues-create diff --git a/.github/workflows/deploy-Release.yml b/.github/workflows/deploy-Release.yml index b8968557..2b3b1b68 100644 --- a/.github/workflows/deploy-Release.yml +++ b/.github/workflows/deploy-Release.yml @@ -150,7 +150,7 @@ jobs: ####################################################### - name: Create GitHub Issue for failure if: failure() - uses: actions/github-script@v5 + uses: actions/github-script@v6 id: create-issue with: # https://octokit.github.io/rest.js/v18#issues-create @@ -169,7 +169,7 @@ jobs: # Assign admins on failure # ############################ - name: Assign Admins on failure - uses: actions/github-script@v5 + uses: actions/github-script@v6 if: failure() with: # https://octokit.github.io/rest.js/v18#issues-create diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index cc4ec568..d395137e 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -52,7 +52,7 @@ jobs: timeout-minutes: 60 steps: - name: Mark issue not stale - uses: actions/github-script@v5 + uses: actions/github-script@v6 with: script: | github.rest.issues.removeLabel({