diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f045ae..a473826 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN - name: Delete branch protection on main - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 with: github-token: ${{ secrets.ACCESS_TOKEN }} script: | @@ -37,7 +37,7 @@ jobs: - if: always() name: Recreate branch protection on main - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 with: github-token: ${{ secrets.ACCESS_TOKEN }} script: |