Skip to content

Commit

Permalink
chore: added write permissions in the stale-discussions workflow (aws…
Browse files Browse the repository at this point in the history
…#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*
  • Loading branch information
khushail authored and lukey-aleios committed Jun 30, 2023
1 parent 053d48e commit 3cd4155
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/handle-stale-discussions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
handle-stale-discussions:
name: Handle stale discussions
runs-on: ubuntu-latest
permissions:
discussions: write
steps:
- name: Stale discussions action
uses: aws-github-ops/handle-stale-discussions@v1
Expand Down

0 comments on commit 3cd4155

Please sign in to comment.