Merge pull request #508 from SiaFoundation/nate/update-knope #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
on: | |
push: | |
branches: [master] | |
permissions: | |
contents: write | |
pull-requests: write | |
name: Create Release PR | |
jobs: | |
prepare-release: | |
if: "!contains(github.event.head_commit.message, 'chore: prepare release')" # Skip merges from releases | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config --global user.name github-actions[bot] | |
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com | |
- uses: knope-dev/action@407e9ef7c272d2dd53a4e71e39a7839e29933c48 | |
- run: knope prepare-release --verbose | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
continue-on-error: true |