diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index f0965a5b4..733ef254d 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Squash and merge - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/optimize-and-merge.yml b/.github/workflows/optimize-and-merge.yml index 2c9196e35..80579669c 100644 --- a/.github/workflows/optimize-and-merge.yml +++ b/.github/workflows/optimize-and-merge.yml @@ -33,7 +33,7 @@ jobs: - name: Squash and merge if: | contains(github.event.pull_request.body, 'Automerge**: Enabled') - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: |