Skip to content

Commit 07283aa

Browse files
authored
Refactor TagBot.yml to remove deprecated settings
Updated workflow inputs and removed deprecated permissions.
1 parent 4754abd commit 07283aa

1 file changed

Lines changed: 8 additions & 15 deletions

File tree

.github/workflows/TagBot.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,21 @@ on:
66
workflow_dispatch:
77
inputs:
88
lookback:
9-
default: 3
10-
permissions:
11-
actions: read
12-
checks: read
13-
contents: write
14-
deployments: read
15-
issues: read
16-
discussions: read
17-
packages: read
18-
pages: read
19-
pull-requests: read
20-
repository-projects: read
21-
security-events: read
22-
statuses: read
9+
description: "[DEPRECATED] No longer has any effect"
10+
default: "3"
2311
jobs:
2412
TagBot:
2513
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
14+
# ubuntu-slim doesn't support containers, and thus won't work
2615
runs-on: ubuntu-latest
2716
steps:
2817
- uses: JuliaRegistries/TagBot@v1
2918
with:
3019
token: ${{ secrets.GITHUB_TOKEN }}
31-
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
20+
# For commits that modify workflow files: SSH key enables tagging, but
21+
# releases require manual creation. For full automation of such commits,
22+
# use a PAT with `workflow` scope instead of GITHUB_TOKEN.
23+
# See: https://github.com/JuliaRegistries/TagBot#commits-that-modify-workflow-files
3224
ssh: ${{ secrets.DOCUMENTER_KEY }}
3325
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
26+
# changelog_format: github # 'custom' (default), 'github', or 'conventional'

0 commit comments

Comments
 (0)