Skip to content

Commit 7fff2cf

Browse files
committed
try again
1 parent 8635770 commit 7fff2cf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/scripts/process-stale-discussions.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ echo "Close cutoff (for closing): $CLOSE_CUTOFF"
2525
# Debug: Check token permissions
2626
echo ""
2727
echo "Checking GitHub token permissions..."
28-
echo "Token: $GH_TOKEN"
2928
gh api /repos/$GITHUB_REPOSITORY_OWNER/$GITHUB_REPOSITORY_NAME --jq '.permissions' || echo "Could not fetch repo permissions"
3029

3130
# Fetch discussions using GitHub GraphQL API

.github/workflows/discussions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)