Skip to content

Commit ec64f96

Browse files
committed
mistakes corrected
1 parent 2f2fe8e commit ec64f96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ In addition to handling proposed answers, this action will automatically close a
88

99
## Steps to enable this action in your repository
1010

11-
1. A valid GitHub token is required to use this action. The GitHub token for your repository can be generated by GitHub during workflow execution when passed in as ${{ secrets.GITHUB_TOKEN }}. The GitHub token must have <b>discussions: write permissions</b>, these permissions can be granted in the workflow file.
11+
1. A valid GitHub token is required to use this action. The GitHub token for your repository can be generated by GitHub during workflow execution when passed in as `${{ secrets.GITHUB_TOKEN }}`. The GitHub token must have <b>discussions: write permissions</b>, these permissions can be granted in the workflow file.
1212

13-
Alternatively, write permissions can be granted to your repository's GitHub token for all workflows in your repository. Please check the permissions in your Repository Settings -> Actions -> General to grant write permissions to the token.
13+
Alternatively, write permissions can be granted to your repository's GitHub token for all workflows in your repository. Please check the permissions in your Repository `Settings -> Actions -> General` to grant write permissions to the token.
1414

1515

1616
![Action Settings in repo](images/repoTokenSettings.png)
@@ -30,13 +30,13 @@ on:
3030
discussion_comment:
3131
types:
3232
- created
33-
permissions:
34-
discussions: write
3533

3634
jobs:
3735
run-action:
3836
name: Handle stale discussions
3937
runs-on: ubuntu-latest
38+
permissions:
39+
discussions: write
4040
steps:
4141
- uses: aws-github-ops/handle-stale-discussions@v1
4242
with:

0 commit comments

Comments
 (0)