Skip to content

Commit

Permalink
ci: Ensure release-plz always pushes as @hugrbot (#76)
Browse files Browse the repository at this point in the history
This should solve the issue where CI checks wouldn't run in release PRs
unless a human triggered an update.

See
https://github.com/MarcoIeni/release-plz/blob/main/website/docs/github/token.md#use-a-personal-access-token
aborgna-q authored Aug 16, 2024
1 parent e88f93e commit cebd16b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Automatic changelog, version bumping, and semver-checks with release-plz for rust projects
name: Release-plz 🦀

permissions:
pull-requests: write
contents: write

on:
push:
branches:
@@ -19,10 +15,11 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.HUGRBOT_PAT }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: MarcoIeni/release-plz-action@v0.5
env:
GITHUB_TOKEN: ${{ secrets.HUGRBOT_PAT }}
GITHUB_TOKEN: ${{ secrets.HUGRBOT_PAT }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit cebd16b

Please sign in to comment.