Skip to content

Commit 4ffab8d

Browse files
Update issue-reminder.yml
1 parent 7811a1e commit 4ffab8d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/issue-reminder.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Issue Reminder
22

33
permissions:
4-
issues: write # Allow the action to write comments on issues
5-
contents: read # Allow access to repo contents
4+
issues: write # Required for posting comments on issues
5+
contents: read # Required for reading repository contents
66

77
on:
88
schedule:
99
- cron: '0 0 * * *' # Runs once a day at midnight UTC
10-
workflow_dispatch:
10+
workflow_dispatch: # Allows manual trigger as well
1111

1212
jobs:
1313
send-reminder:
@@ -20,10 +20,10 @@ jobs:
2020
- name: Set up GitHub CLI
2121
2222
with:
23-
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
github_token: ${{ secrets.ACTION_TOKEN }} # Use your custom token here
2424

25-
- name: Authenticate GitHub CLI
26-
run: gh auth login --with-token <<< ${{ secrets.GITHUB_TOKEN }}
25+
- name: Authenticate GitHub CLI with ACTION_TOKEN
26+
run: gh auth login --with-token <<< ${{ secrets.ACTION_TOKEN }} # Authenticate with ACTION_TOKEN
2727

2828
- name: Get list of open issues
2929
id: get_issues

0 commit comments

Comments
 (0)