libretime/.github/workflows/release-please.yml
Jonas L 9a60465163
ci: ensure release pipeline run after tag (#2830)
By default, Release Please uses the built-in GITHUB_TOKEN secret.
However, all resources created by release-please (release tag or release
pull request) will not trigger future GitHub actions workflows, and
workflows normally triggered by release.created events will also not
run.
2023-12-22 21:32:43 +01:00

22 lines
513 B
YAML

name: Release-Please
on:
push:
branches:
- main
- stable
jobs:
release-please:
# Do not run on forks.
if: github.repository == 'libretime/libretime'
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.LIBRETIME_BOT_TOKEN }}
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
target-branch: ${{ github.ref_name }}