1name: Release 2 3on: 4 push: 5 tags: 6 - v[0-9]+.* 7 8jobs: 9 create-release: 10 runs-on: ubuntu-latest 11 steps: 12 - uses: actions/checkout@v2 13 - uses: taiki-e/create-gh-release-action@v1 14 with: 15 # Path to changelog. 16 changelog: CHANGELOG.md 17 # Reject releases from commits not contained in branches 18 # that match the specified pattern (regular expression) 19 branch: main 20 env: 21 # (Required) GitHub token for creating GitHub Releases. 22 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}