|
| 1 | +name:TagBot |
| 2 | +on: |
| 3 | +issue_comment: |
| 4 | +types: |
| 5 | + -created |
| 6 | +workflow_dispatch: |
| 7 | +inputs: |
| 8 | +lookback: |
| 9 | +default:"3" |
| 10 | +permissions: |
| 11 | +actions:read |
| 12 | +checks:read |
| 13 | +contents:write |
| 14 | +deployments:read |
| 15 | +issues:read |
| 16 | +discussions:read |
| 17 | +packages:read |
| 18 | +pages:read |
| 19 | +pull-requests:read |
| 20 | +repository-projects:read |
| 21 | +security-events:read |
| 22 | +statuses:read |
| 23 | +jobs: |
| 24 | +TagBot: |
| 25 | +if:github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' |
| 26 | +runs-on:ubuntu-latest |
| 27 | +steps: |
| 28 | + -uses:JuliaRegistries/TagBot@v1 |
| 29 | +with: |
| 30 | +token:${{ secrets.GITHUB_TOKEN }} |
| 31 | +# Edit the following line to reflect the actual name of the GitHub Secret containing your private key |
| 32 | +ssh:${{ secrets.DOCUMENTER_KEY }} |
| 33 | +# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }} |