Skip to content

Commit 990cc41

Browse files
committed
fix: correct several missing permissions on GitHub workflows
1 parent bdc5675 commit 990cc41

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/closed-issue-message.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: Closed Issue Message
2+
23
on:
34
issues:
45
types: [closed]
5-
permissions: { }
6+
7+
permissions:
8+
issues: write
9+
610
jobs:
711
auto_comment:
812
runs-on: ubuntu-latest

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
- '*-main'
1313
workflow_dispatch:
1414

15-
permissions: { }
15+
permissions:
16+
contents: read
1617

1718
env:
1819
PACKAGE_NAME: aws-sdk-kotlin

.github/workflows/stale_issue.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
schedule:
66
- cron: "0 0/3 * * *"
77

8-
permissions: { }
8+
permissions:
9+
issues: write
910

1011
jobs:
1112
cleanup:

0 commit comments

Comments
 (0)