Move to GitOps Config File (#4) #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: auto-release | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- production | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
# Get PR from merged commit to main | |
- uses: actions-ecosystem/action-get-merged-pull-request@v1 | |
id: get-merged-pull-request | |
with: | |
github_token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} | |
# Drafts your next Release notes as Pull Requests are merged into "main" | |
- uses: release-drafter/release-drafter@v5 | |
with: | |
publish: false | |
prerelease: false | |
config-name: auto-release.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} |