Repository navigation
Release: v0.3.0 #9
This file contains hidden or 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: "Release: Publish PR" | |
| # When a "Release: v*" PR into `main` is merged, this creates the `vX.Y.Z` git | |
| # tag (and GitHub release). The tag push then triggers container-publish.yml. | |
| # | |
| # Must use BOT_GITHUB_TOKEN, not GITHUB_TOKEN: a tag pushed with the default | |
| # GITHUB_TOKEN cannot trigger another workflow (container-publish), so the | |
| # image would never build. | |
| on: | |
| pull_request: | |
| branches: [main] | |
| types: [closed] | |
| jobs: | |
| release-publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: JarvusInnovations/infra-components@channels/github-actions/release-publish/latest | |
| with: | |
| github-token: ${{ secrets.BOT_GITHUB_TOKEN }} |