diff --git a/.github/workflows/conversation.yml b/.github/workflows/conversation.yml index 61165676784d..11a54ac87ef9 100644 --- a/.github/workflows/conversation.yml +++ b/.github/workflows/conversation.yml @@ -17,7 +17,7 @@ jobs: with: token: ${{ github.token }} - if: github.event_name == 'pull_request_target' && (startsWith(github.event.pull_request.title, 'Meta:') || contains(github.event.pull_request.title, 'rgh-')) - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | await github.rest.issues.addLabels({ diff --git a/.github/workflows/pr-etiquette.yml b/.github/workflows/pr-etiquette.yml index ede9cbd0da40..0c0e6fa6319a 100644 --- a/.github/workflows/pr-etiquette.yml +++ b/.github/workflows/pr-etiquette.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Check if force push id: check - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: result-encoding: string script: | diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index dfa6239e0b0c..ac5985710898 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -12,7 +12,7 @@ jobs: permissions: pull-requests: write steps: - - uses: actions/github-script@v8 + - uses: actions/github-script@v9 with: script: | const body = context.payload.pull_request.body ?? ''; @@ -41,7 +41,7 @@ jobs: steps: - name: Check if PR has no labels id: check - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: result-encoding: string script: | @@ -62,7 +62,7 @@ jobs: issues: read contents: read steps: - - uses: actions/github-script@v8 + - uses: actions/github-script@v9 with: script: | const allowed = ['bug', 'enhancement', 'meta']