Skip to content

Commit d01fac5

Browse files
committed
Add permissions block to TagBot workflow
1 parent b74faae commit d01fac5

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/TagBot.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@ on:
88
lookback:
99
description: "[DEPRECATED] No longer has any effect"
1010
default: "3"
11+
permissions:
12+
actions: read
13+
contents: write
14+
issues: read
15+
pull-requests: read
1116
jobs:
1217
TagBot:
1318
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
14-
runs-on: ubuntu-slim
19+
runs-on: ubuntu-latest
1520
steps:
1621
- uses: JuliaRegistries/TagBot@v1
1722
with:
1823
token: ${{ secrets.GITHUB_TOKEN }}
19-
ssh: ${{ secrets.TAGBOT_SSH }}
20-
ssh: ${{ secrets.DOCUMENTER_KEY }}
24+
ssh: ${{ secrets.TAGBOT_SSH }}

0 commit comments

Comments
 (0)