Skip to content

Commit

Permalink
ci: use bot GitHub account
Browse files Browse the repository at this point in the history
  • Loading branch information
guidanoli committed Sep 30, 2024
1 parent b1e6117 commit 699e445
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ on:

concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
actions: write
contents: write
id-token: write
packages: write
pull-requests: write

jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -25,6 +18,13 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_TOKEN }}

- name: Register Git user
run: |
git config user.name rollups-contracts-bot
git config user.email [email protected]
- uses: actions/setup-node@v4
with:
Expand All @@ -36,9 +36,10 @@ jobs:
- name: Create release PR or publish to npm
uses: changesets/action@v1
with:
setupGitUser: false
commit: "chore: version packages"
publish: yarn changeset publish
cwd: onchain/rollups
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 699e445

Please sign in to comment.