@@ -9,12 +9,13 @@ This requires `issues: write` permissions in order to work correctly.
99
1010| Name | Description | Default |
1111| ------| -------------| ---------|
12+ | ` github-token ` | The default token to use for this Git operation. If unspecified, this will default to ` github.token ` . | ` "${{ github.token }}" ` |
1213| ` issue-number ` | The issue number to comment on | ` "0" ` |
13- | ` lock-reason ` | The reason the issue is being locked. Must be one of: * off-topic * too heated * resolved * spam | ` "resolved" ` |
14- | ` owner ` | The repository owner | ` "" ` |
15- | ` repo ` | The repository | ` "" ` |
16- | ` retries ` | The number of times to try retrying | ` "0" ` |
17- | ` retry-exempt-status-codes ` | The retry exempt status codes | ` "400,401,403,404,422" ` |
14+ | ` lock-reason ` | The reason the issue is being locked. Must be one of: " off-topic", " too heated", " resolved", " spam" | ` "resolved" ` |
15+ | ` owner ` | The repository owner. If unspecified, this will default to the owner of the current repository. | ` "" ` |
16+ | ` repo ` | The name of the repository. If unspecified, this will default to the current repository. | ` "" ` |
17+ | ` retries ` | The number of times to attempt to retry if this fails. | ` "0" ` |
18+ | ` retry-exempt-status-codes ` | A list of error-codes that are exempt from being retried. | ` "400,401,403,404,422" ` |
1819
1920## Outputs
2021
3536 uses : bitwizeshift/actions-github/issues/lock@v1
3637 with :
3738 # Optional inputs
39+ github-token : GITHUB_TOKEN
3840 issue-number : ISSUE_NUMBER
3941 lock-reason : LOCK_REASON
4042 owner : OWNER
0 commit comments