File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ echo "Close cutoff (for closing): $CLOSE_CUTOFF"
2525# Debug: Check token permissions
2626echo " "
2727echo " Checking GitHub token permissions..."
28- echo " Token: $GH_TOKEN "
2928gh api /repos/$GITHUB_REPOSITORY_OWNER /$GITHUB_REPOSITORY_NAME --jq ' .permissions' || echo " Could not fetch repo permissions"
3029
3130# Fetch discussions using GitHub GraphQL API
Original file line number Diff line number Diff line change 3333
3434 - name : Fetch and process stale discussions
3535 env :
36- GH_TOKEN : ${{ secrets.DISCUSSION_TOKEN || secrets.GITHUB_TOKEN }}
36+ GH_TOKEN : ${{ secrets.DISCUSSION_TOKEN }}
3737 STALE_DAYS : ${{ env.STALE_DAYS }}
3838 WARNING_DAYS : ${{ env.WARNING_DAYS }}
3939 WARNING_MESSAGE : ${{ env.WARNING_MESSAGE }}
You can’t perform that action at this time.
0 commit comments