Skip to content

Commit ebe4eec

Browse files
committed
Update GitHub Actions workflow to define permissions at the workflow level
1 parent 9955f1e commit ebe4eec

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/generate-terminal-gifs.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ name: generate-terminal-gifs
33
on:
44
workflow_dispatch:
55

6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
610
jobs:
7-
run:
11+
run-tapes:
812
strategy:
913
matrix:
1014
tapes:
1115
- 'docs/vhs/install.tape'
1216
runs-on: ubuntu-latest
13-
permissions:
14-
contents: write
15-
pull-requests: write
1617
steps:
1718
- name: Checkout
1819
uses: actions/checkout@v4

docs/vhs/install.tape

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Output docs/vhs/usage.gif
2+
Output docs/vhs/install.gif
33

44
Set Theme "Monokai Vivid"
55
Set FontSize 14

0 commit comments

Comments
 (0)