Skip to content

Commit

Permalink
[core] Fix permissions in workflow
Browse files Browse the repository at this point in the history
See mui/mui-x#6658 for more details.
  • Loading branch information
oliviertassinari committed Oct 29, 2022
1 parent 17235c1 commit 09134f6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: No Response
name: No response

# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
Expand All @@ -12,6 +12,9 @@ on:
jobs:
noResponse:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- uses: lee-dohm/[email protected]
with:
Expand All @@ -23,4 +26,4 @@ jobs:
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed.
If you wish to see the issue reopened, please provide the missing information.
If you wish to see the issue reopened, please provide the missing information.

0 comments on commit 09134f6

Please sign in to comment.