Skip to content

Commit

Permalink
ci: use bot account with PAT in reusable_prepare_release
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jul 23, 2024
1 parent c936782 commit 269151d
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/reusable_prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ on:
version:
value: ${{ jobs.run.outputs.version }}

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-D warnings"

permissions:
pull-requests: write
contents: write
actions: write

jobs:
run:
name: Prepare Release
Expand Down Expand Up @@ -56,10 +47,10 @@ jobs:
- uses: peter-evans/create-pull-request@v6
id: pr
with:
token: ${{ secrets.GITHUB_TOKEN }}
# bot account with PAT required for triggering workflow runs
# See https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
token: ${{ secrets.OXC_BOT_PAT }}
commit-message: Release ${{ inputs.name }}
committer: Boshen <Boshen@users.noreply.github.com>
author: Boshen <Boshen@users.noreply.github.com>
branch: release/${{ inputs.name }}
branch-suffix: timestamp
base: main
Expand Down

0 comments on commit 269151d

Please sign in to comment.