diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 0cd3114..2c4f30b 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -3,10 +3,11 @@ on: issue_comment: types: - created + repository_dispatch: workflow_dispatch: inputs: lookback: - default: "3" + default: 3 permissions: actions: read checks: read @@ -22,10 +23,13 @@ permissions: statuses: read jobs: TagBot: - if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' + 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: - 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 }} + # ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }} + registry: HolyLab/HolyLabRegistry