2025-01-26 17:31:43 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
name: release-please
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release-please:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: joaquinjsb/gitea-release-please-action@v4
|
|
|
|
with:
|
|
|
|
# this assumes that you have created a personal access token
|
|
|
|
# (PAT) and configured it as a GitHub action secret named
|
|
|
|
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
|
2025-01-26 17:48:05 +00:00
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
2025-01-26 17:31:43 +00:00
|
|
|
# this is a built-in strategy in release-please, see "Action Inputs"
|
|
|
|
# for more options
|
2025-01-26 17:38:19 +00:00
|
|
|
release-type: node
|
|
|
|
target-branch: prod
|