diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 9b1d2b5..4edd760 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -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 }}