Skip to content
Merged
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
22 changes: 15 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,22 @@ on:

# Handle release versioning automatically with semantic release
jobs:
semantic-release:
name: Release
release:
runs-on: ubuntu-latest
name: Release
steps:
- uses: actions/create-github-app-token@v2
id: app-token
with:
app-id: ${{ secrets.TURO_GITHUB_WORKFLOWS_APP_ID }}
private-key: ${{ secrets.TURO_GITHUB_WORKFLOWS_APP_PRIVATE_KEY }}
# Creates a token for all the repositories in the current owner's (turo) installation
# See this for more information: https://github.com/actions/create-github-app-token?tab=readme-ov-file#create-a-token-for-all-repositories-in-the-current-owners-installation
owner: ${{ github.repository_owner }}
- name: Checkout
uses: actions/checkout@v3
- uses: open-turo/actions-release/semantic-release@v2
uses: actions/checkout@v4
- name: Lint
uses: open-turo/action-pre-commit@v1
- uses: open-turo/actions-release/semantic-release@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
extra-plugins: |
@open-turo/semantic-release-config
github-token: ${{ steps.app-token.outputs.token }}
Loading