Skip to content

fix: enhance error handling for insufficient scopes in project board script#127

Merged
joshjohanning merged 1 commit intomainfrom
update-project-board-items-script
Oct 1, 2025
Merged

fix: enhance error handling for insufficient scopes in project board script#127
joshjohanning merged 1 commit intomainfrom
update-project-board-items-script

Conversation

@joshjohanning
Copy link
Copy Markdown
Owner

Enhanced error handling and user guidance:

  • Added a check for the INSUFFICIENT_SCOPES error when querying the GitHub API, with a clear message explaining that the user's token lacks the required read:project scope, instructions for resolving the issue, and a display of the current token scopes.

Minor usability improvements:

  • Updated the usage instructions to include an example written to results.txt for easier reference.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 1, 2025

📋 Lint Results

⚡ ./gh-cli scripts

✅ No issues found.

🔧 ./scripts scripts

✅ No issues found.

Lint results updated at Wed Oct 1 19:01:18 UTC 2025

@joshjohanning joshjohanning merged commit 8134391 into main Oct 1, 2025
7 checks passed
@joshjohanning joshjohanning deleted the update-project-board-items-script branch October 1, 2025 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant