From 9fcfe9f4f1e211fa208ff5351468caa60ffdc85b Mon Sep 17 00:00:00 2001 From: Raja Muhammad Awais Date: Sat, 27 Sep 2025 12:01:46 +0000 Subject: [PATCH] chore: update release workflow to use RELEASE_PLEASE_TOKEN for PR creation Co-authored-by: Genie --- .github/workflows/release-please.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e72ab29..c8854c8 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -22,14 +22,11 @@ jobs: - name: Release Please uses: google-github-actions/release-please-action@v4 with: - # For general repos (no language-specific version files), use "simple". release-type: simple - # Set to true to create GitHub Releases and tags when the PR is merged. create-release: true - # Customize if your default branch is "main" or "master". target-branch: ${{ github.ref_name }} - # Optional: Change to your repo name/owner if needed in forks - # token: ${{ secrets.GITHUB_TOKEN }} + # Use a PAT to bypass org policy that blocks GITHUB_TOKEN from creating PRs + token: ${{ secrets.RELEASE_PLEASE_TOKEN }} # Optional: publish a GitHub Release when tags are pushed (redundant if create-release=true above). gh-release: