diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index d77d3a0..e4b6fc0 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,11 +1,25 @@ name: TagBot on: - schedule: - - cron: 0 * * * * + issue_comment: + types: + - created + workflow_dispatch: + inputs: + lookback: + description: '[DEPRECATED] No longer has any effect' + default: '3' jobs: TagBot: + if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' + # ubuntu-slim doesn't support containers, and thus won't work runs-on: ubuntu-latest steps: - - uses: JuliaRegistries/TagBot@v1 + - uses: JuliaRegistries/TagBot@304fc93e4623081443fee5b6317ac73b37923574 # v1.25.8 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_format: github # 'custom' (default), 'github', or 'conventional'