From 06acaa1485e3c225b7d2ac2effe11ff865537b9c Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Tue, 23 Jul 2024 10:17:19 -0500 Subject: [PATCH 1/3] Work my way through permissions --- .github/workflows/TagBot.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index a34fd92..e3f2186 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -7,23 +7,23 @@ on: 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' }} runs-on: ubuntu-latest + 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 steps: - uses: JuliaRegistries/TagBot@v1 with: From 24b2ac3191f8d89886e783f2d544ad15693bf614 Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Tue, 23 Jul 2024 10:23:25 -0500 Subject: [PATCH 2/3] Experiment --- .github/workflows/TagBot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index e3f2186..03dfd55 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -24,6 +24,7 @@ jobs: # repository-projects: read # security-events: read # statuses: read + workflows: write steps: - uses: JuliaRegistries/TagBot@v1 with: From 293b9881e932053a8fbe4bf6d7b7643ed8c17803 Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Tue, 23 Jul 2024 10:24:19 -0500 Subject: [PATCH 3/3] Revert "Experiment" This reverts commit 24b2ac3191f8d89886e783f2d544ad15693bf614. --- .github/workflows/TagBot.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 03dfd55..e3f2186 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -24,7 +24,6 @@ jobs: # repository-projects: read # security-events: read # statuses: read - workflows: write steps: - uses: JuliaRegistries/TagBot@v1 with: