Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ jobs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
# A push made with GITHUB_TOKEN does not start any workflow, so a release
# PR merged with it lands on main and then nothing publishes. Using the
# PAT keeps the chain alive and also lets CI run on the release PR.
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.SDK_SYNC_PAT }}
release-type: python
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
Expand All @@ -38,7 +41,7 @@ jobs:
# would wait forever.
- name: Merge the release PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.SDK_SYNC_PAT }}
RELEASE_PR: ${{ steps.release.outputs.pr }}
run: |
# The action's own output is authoritative and immediate. Listing by
Expand Down
Loading