Skip to content

Commit

Permalink
docs: Update issue-reopener example
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Lewis <[email protected]>
  • Loading branch information
Ian Lewis committed Aug 23, 2023
1 parent e61bb4e commit 6445560
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion actions/issue-reopener/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,17 @@ First use the `actions/checkout` action to check out your repository. After that
you can call `ianlewis/todos/actions/issue-reopener` to scan your codebase for
TODO comments.

Note that you must set the `issues: write` permission on the job.
Note that you must set the `issues: write` permission on the job if using the
default `GITHUB_TOKEN`.

```yaml
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"

permissions: {}

jobs:
issue-reopener:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6445560

Please sign in to comment.