diff --git a/.github/workflows/label_invalid_prs.yaml b/.github/workflows/label_invalid_prs.yaml index 84c6cc91..68909657 100644 --- a/.github/workflows/label_invalid_prs.yaml +++ b/.github/workflows/label_invalid_prs.yaml @@ -34,7 +34,7 @@ jobs: - name: Add 'invalid' label if trigger PR check failed if: github.event.workflow_run.conclusion == 'failure' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -46,7 +46,7 @@ jobs: }) - name: Remove 'invalid' label if trigger PR check was successful if: github.event.workflow_run.conclusion == 'success' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: |