turn running examples into gh workflow #2062
This file contains 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: # THIS BIT IS NEW | |
types: | |
- created | |
workflow_dispatch: | |
jobs: | |
TagBot: | |
# THIS 'if' LINE IS NEW | |
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' | |
# NOTHING BELOW HAS CHANGED | |
runs-on: ubuntu-latest | |
steps: | |
- uses: JuliaRegistries/TagBot@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# ssh: ${{ secrets.DOCUMENTER_KEY }} |