| 1 | name: Release |
| 2 | |
| 3 | permissions: |
| 4 | contents: write |
| 5 | |
| 6 | on: |
| 7 | push: |
| 8 | tags: |
| 9 | - v[0-9]+.* |
| 10 | |
| 11 | jobs: |
| 12 | create-release: |
| 13 | if: github.repository_owner == 'smol-rs' |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | - uses: actions/checkout@v4 |
| 17 | - uses: taiki-e/create-gh-release-action@v1 |
| 18 | with: |
| 19 | changelog: CHANGELOG.md |
| 20 | branch: master |
| 21 | env: |
| 22 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |