Skip to content

Commit

Permalink
ci: Ensure release-plz always pushes as @hugbot (#543)
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
  • Loading branch information
aborgna-q authored Aug 16, 2024
1 parent 2a547c8 commit dfd3097
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 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:
Expand All @@ -19,6 +15,7 @@ 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
Expand Down

0 comments on commit dfd3097

Please sign in to comment.