Skip to content

Commit 8451b2d

Browse files
committed
chore: update GitHub Actions workflow permissions
1 parent 32c5a3a commit 8451b2d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
name: test
3+
permissions:
4+
contents: write
35

46
on:
57
push:

.github/workflows/tmate.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22
name: tmate
3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58
inputs:
@@ -24,8 +27,6 @@ on:
2427
jobs:
2528
tmate:
2629
runs-on: ${{ inputs.os }}
27-
permissions:
28-
contents: read
2930
steps:
3031
- uses: actions/checkout@v4
3132
with:

0 commit comments

Comments
 (0)