TagBot trigger issue #10
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 | |
| steps: | |
| - uses: JuliaRegistries/TagBot@v1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| # For commits that modify workflow files: SSH key enables tagging, but | |
| # releases require manual creation. For full automation of such commits, | |
| # use a PAT with `workflow` scope instead of GITHUB_TOKEN. | |
| # See: https://github.com/JuliaRegistries/TagBot#commits-that-modify-workflow-files | |
| ssh: ${{ secrets.DOCUMENTER_KEY }} | |
| changelog: | | |
| ## {{ package }} {{ version }} | |
| ${{ github.event.client_payload.logfile_msg }} | |
| {% if previous_release %} | |
| [Diff since {{ previous_release }}]({{ compare_url }}) | |
| {% endif %} | |
| {% if custom %} | |
| {{ custom }} | |
| {% endif %} | |
| {% if issues %} | |
| **Closed issues:** | |
| {% for issue in issues %} | |
| - {{ issue.title }} (#{{ issue.number }}) | |
| {% endfor %} | |
| {% endif %} | |
| {% if pulls %} | |
| **Merged pull requests:** | |
| {% for pull in pulls %} | |
| - {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }}) | |
| {% endfor %} | |
| {% endif %} |