Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ jobs:
run: npm ci
- name: Run tests
run: grunt test
- name: Generate release token
id: app-token
uses: actions/create-github-app-token@v3
with:
client-id: ${{ secrets.RELEASE_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
# Release using semantic-release if there are new semantic commits.
# The @semantic-release/git plugin commits the version bump
# (package.json, package-lock.json, app/manifest.json, CHANGELOG.md)
# directly back to master.
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: npx semantic-release
Loading