From ad4a6cba9874161dcd09d536c14e3548da50014b Mon Sep 17 00:00:00 2001 From: Dae Woo Kim Date: Fri, 31 Jan 2025 09:30:37 -0600 Subject: [PATCH] update TagBot.yml --- .github/workflows/TagBot.yml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index a204321..9880dd0 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -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 \ No newline at end of file