diff --git a/.github/actions/protect-main/action.yml b/.github/actions/protect-main/action.yml index 71523fcd..114819fb 100644 --- a/.github/actions/protect-main/action.yml +++ b/.github/actions/protect-main/action.yml @@ -8,7 +8,7 @@ name: Protect main runs: steps: - name: Recreate branch protection on main - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 with: github-token: ${{ inputs.ACCESS_TOKEN }} # Note: keep this inline script in sync with script/setup.js! diff --git a/.github/actions/unprotect-main/action.yml b/.github/actions/unprotect-main/action.yml index 95ba34e5..2efbcd7e 100644 --- a/.github/actions/unprotect-main/action.yml +++ b/.github/actions/unprotect-main/action.yml @@ -8,7 +8,7 @@ name: Unprotect main runs: steps: - name: Delete branch protection on main - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 with: github-token: ${{ inputs.ACCESS_TOKEN }} script: |