Skip to content

Commit 7b46a6a

Browse files
authored
chore: add missing permissions for GitHub workflows (#199)
1 parent f556f0c commit 7b46a6a

File tree

7 files changed

+12
-1
lines changed

7 files changed

+12
-1
lines changed

.github/workflows/api-compat-verification.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- main
88
- '*-main'
99

10+
permissions: { }
11+
1012
jobs:
1113
api-compat-verification:
1214
runs-on: ubuntu-latest

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ env:
1212
# picks up `podman` instead.
1313
OCI_EXE: docker
1414

15+
permissions: { }
16+
1517
jobs:
1618
jvm:
1719
runs-on: ubuntu-latest

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Closed Issue Message
22
on:
33
issues:
44
types: [closed]
5+
permissions: { }
56
jobs:
67
auto_comment:
78
runs-on: ubuntu-latest

.github/workflows/jreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ name: JReleaser check
44
on:
55
pull_request:
66

7+
permissions: { }
8+
79
jobs:
810
jreleaser-check:
911
permissions: {}

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
branches: [ main ]
1010
workflow_dispatch:
1111

12+
permissions: { }
13+
1214
env:
1315
PACKAGE_NAME: aws-crt-kotlin
1416

.github/workflows/merge-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches: [ main ]
55
workflow_dispatch:
6-
6+
permissions: { }
77
jobs:
88
merge:
99
runs-on: ubuntu-latest

.github/workflows/stale_issue.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
schedule:
66
- cron: "*/60 * * * *"
77

8+
permissions: { }
9+
810
jobs:
911
cleanup:
1012
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)