TagBot trigger issue #51
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: TagBot | |
| on: | |
| issue_comment: | |
| types: | |
| - created | |
| workflow_dispatch: | |
| jobs: | |
| TagBot: | |
| if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' | |
| runs-on: ubuntu-latest | |
| # The repo default workflow token is read-only, so without this block TagBot | |
| # cannot create the GitHub release (the git tag itself is pushed over SSH via | |
| # DOCUMENTER_KEY). contents: write creates the release; issues: write lets | |
| # TagBot open a "manual intervention" issue if release creation ever fails. | |
| permissions: | |
| contents: write | |
| issues: write | |
| strategy: | |
| matrix: | |
| # One run per registered monorepo subpackage; each job only tags when the | |
| # JuliaTagBot notification names its package. Tags are PkgName-vX.Y.Z | |
| # (e.g. ReactantServerCore-v1.0.0). Add ReactantServer, ReactantServerGateway, | |
| # and ReactantServerNode here when they are registered. | |
| subdir: [packages/ReactantServerCore, packages/ReactantServerClient, packages/ReactantServerExport] | |
| steps: | |
| - uses: JuliaRegistries/TagBot@cded32665b34ca0496d3ac10a67d08ddfc726963 # v1.25.11 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| ssh: ${{ secrets.DOCUMENTER_KEY }} | |
| subdir: ${{ matrix.subdir }} |