diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f612eb99..54fa6575 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.0 + uses: actions/github-script@v6.4.1 with: github-token: ${{ secrets.ACCESS_TOKEN }} script: | @@ -35,7 +35,7 @@ jobs: run: if pnpm run should-semantic-release ; then pnpm release-it --verbose ; fi - if: always() name: Recreate branch protection on main - uses: actions/github-script@v6.4.0 + uses: actions/github-script@v6.4.1 with: github-token: ${{ secrets.ACCESS_TOKEN }} # Note: keep this inline script in sync with script/setup.js!