Merge pull request #21 from DNXLabs/feature/sg_for_nlb #6
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: | |
- master | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
# Get PR from merged commit to master | |
- 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 "master" | |
- uses: release-drafter/release-drafter@v5 | |
with: | |
publish: ${{ !contains(steps.get-merged-pull-request.outputs.labels, 'no-release') }} | |
prerelease: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} |