From ba5aca63caa5b9e49cca4265bebea6d9a56e4a04 Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 30 Mar 2024 00:12:50 +0100 Subject: [PATCH] Update TagBot to new syntax --- .github/workflows/TagBot.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index f49313b..177d03c 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -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' @@ -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 }}