diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 341628b..7635fe4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,6 +42,10 @@ jobs: - uses: actions/checkout@v6 with: fetch-depth: 0 + # Use a PAT so the release job can push the version-bump + # commit and tag directly to main, bypassing branch-protection + # rulesets that block the default GITHUB_TOKEN. + token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }} - name: Set up Node.js uses: actions/setup-node@v6