File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11name : Issue Reminder
22
33permissions :
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
77on :
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
1212jobs :
1313 send-reminder :
@@ -20,10 +20,10 @@ jobs:
2020 - name : Set up GitHub CLI
21212222 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
You can’t perform that action at this time.
0 commit comments