Skip to content

Commit

Permalink
docs(readme): add permissions only for the new options
Browse files Browse the repository at this point in the history
  • Loading branch information
C0ZEN committed Jul 18, 2021
1 parent de8d4fc commit b5276d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,19 +340,22 @@ Default value: unset

Automatically remove the stale label when the issues or the pull requests are commented.

Default value: `true`
Default value: `true`
Required Permission: `issues: write` and `pull-requests: write`

#### remove-issue-stale-when-commented

Override [remove-stale-when-commented](#remove-stale-when-commented) but only to automatically remove the stale label when the issues are commented.

Default value: unset
Default value: unset
Required Permission: `issues: write` and `pull-requests: write`

#### remove-pr-stale-when-commented

Override [remove-stale-when-commented](#remove-stale-when-commented) but only to automatically remove the stale label when the pull requests are commented.

Default value: unset
Default value: unset
Required Permission: `issues: write` and `pull-requests: write`

#### labels-to-add-when-unstale

Expand Down
2 changes: 1 addition & 1 deletion __tests__/main.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ test('when the option "labelsToAddWhenUnstale" is set, the labels should be adde
expect.assertions(4);
const opts = {
...DefaultProcessorOptions,
removeStaleWhenUpdated: true,
removeStaleWhenCommented: true,
labelsToAddWhenUnstale: 'test'
};
const TestIssueList: Issue[] = [
Expand Down

0 comments on commit b5276d4

Please sign in to comment.