Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
fix(vcs): Switches to bot app for GitHub token to automate release co…
Browse files Browse the repository at this point in the history
…mmits. (#3)
  • Loading branch information
mango-habanero authored Jun 28, 2024
1 parent 71cb60d commit f5234d6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
contents: write
issues: write
steps:
- name: generate mango habanero bot app token.
uses: actions/create-github-app-token@v1
id: mh-bot-token
with:
app-id: ${{ vars.MH_BOT_APP_ID }}
private-key: ${{ secrets.MH_BOT_PRIVATE_KEY }}
- name: checkout code.
uses: actions/checkout@v4
with:
Expand All @@ -29,5 +35,5 @@ jobs:
run: npm ci
- name: publish release.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.mh-bot-token.outputs.token }}
run: npx semantic-release

0 comments on commit f5234d6

Please sign in to comment.