Skip to content

Commit

Permalink
update TagBot.yml (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdw503 authored Jan 31, 2025
1 parent dcc5e12 commit 40ea94c
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,35 @@
name: TagBot
on:
issue_comment:
types:
- created
repository_dispatch:
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' || (github.event_name == 'repository_dispatch' && github.event.client_payload.repository == 'HolyLab/HolyLabRegistry')
runs-on: ubuntu-latest
steps:
- name: Event Information
run: |
echo "Event '${{ github.event.action }}' received from '${{ github.event.client_payload.repository }}'"
- 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 }}
registry: HolyLab/HolyLabRegistry
lookback: 300
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
registry: HolyLab/HolyLabRegistry

0 comments on commit 40ea94c

Please sign in to comment.