Skip to content

Commit e995ee5

Browse files
authored
chore: add missing permissions for GitHub workflows (#1643)
1 parent edef934 commit e995ee5

File tree

9 files changed

+16
-0
lines changed

9 files changed

+16
-0
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/closed-issue-message.yaml

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/continuous-integration.yml

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

7+
permissions: { }
8+
79
# Allow one instance of this workflow per pull request, and cancel older runs when new changes are pushed
810
concurrency:
911
group: ci-pr-${{ github.ref }}

.github/workflows/issue-regression-labeler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: issue-regression-label
33
on:
44
issues:
55
types: [opened, edited]
6+
permissions: { }
67
jobs:
78
add-regression-label:
89
runs-on: ubuntu-latest

.github/workflows/lint.yml

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

15+
permissions: { }
16+
1517
env:
1618
PACKAGE_NAME: aws-sdk-kotlin
1719

.github/workflows/merge-main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
branches: [ main ]
55
workflow_dispatch:
66

7+
permissions: { }
8+
79
jobs:
810
merge:
911
runs-on: ubuntu-latest

.github/workflows/release-readiness.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
types: [ opened, synchronize, reopened, labeled, unlabeled ]
99
branches: [ main ]
1010

11+
permissions: { }
12+
1113
jobs:
1214
release-readiness:
1315
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ready-for-release') }}

.github/workflows/stale_issue.yaml

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

8+
permissions: { }
9+
810
jobs:
911
cleanup:
1012
name: Stale issue job

.github/workflows/sync-mirror.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [ main ]
66
workflow_dispatch:
77

8+
permissions: { }
9+
810
jobs:
911
git-sync:
1012
# Only sync when pushing to source repo

0 commit comments

Comments
 (0)