Skip to content

Commit edad593

Browse files
authored
chore: added write permissions in the stale-discussions workflow (#26154)
Added write permission for github workflow action as required. This would eliminate the need for changing github repo settings as mentioned [here](https://github.com/aws-github-ops/handle-stale-discussions/blob/main/README.md#steps-to-enable-this-action-in-your-repository) > [CONTRIBUTING GUIDE]: https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md > [DESIGN GUIDELINES]: https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md Closes #<issue number here>. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 8056e38 commit edad593

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/handle-stale-discussions.yml

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
handle-stale-discussions:
1010
name: Handle stale discussions
1111
runs-on: ubuntu-latest
12+
permissions:
13+
discussions: write
1214
steps:
1315
- name: Stale discussions action
1416
uses: aws-github-ops/handle-stale-discussions@v1

0 commit comments

Comments
 (0)