Skip to content

Commit

Permalink
Update TagBot to new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
MattWillFlood committed Mar 29, 2024
1 parent 25a61d4 commit ba5aca6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ on:
types:
- created
workflow_dispatch:
inputs:
lookback:
default: 3
permissions:
actions: read
checks: read
contents: write
deployments: read
issues: read
discussions: read
packages: read
pages: read
pull-requests: read
repository-projects: read
security-events: read
statuses: read
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
Expand All @@ -12,4 +28,24 @@ jobs:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
ssh: ${{ secrets.DOCUMENTER_KEY }}




#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 }}
# ssh: ${{ secrets.DOCUMENTER_KEY }}

0 comments on commit ba5aca6

Please sign in to comment.