-
Notifications
You must be signed in to change notification settings - Fork 0
fix: plugin test failure and change to GITHUB_TOKEN
#8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
383642f
to
715f612
Compare
GITHUB_TOKEN
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the authentication token in the Bash utilities and refines the CI workflow to improve plugin test reliability.
- Switched from
GITHUB_API_TOKEN
toGITHUB_TOKEN
inlib/utils.bash
. - Added a manual dispatch trigger and expanded the
plugin_test
matrix in the GitHub Actions workflow. - Clarified step names, disabled fail-fast, and ensured the
GITHUB_TOKEN
is passed to test steps.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
lib/utils.bash | Use GITHUB_TOKEN for Authorization header instead of GITHUB_API_TOKEN . |
.github/workflows/build.yml | Added workflow_dispatch , expanded matrix versions, refined steps, and set GITHUB_TOKEN in env. |
Comments suppressed due to low confidence (1)
lib/utils.bash:39
- Update the preceding comment to reference
GITHUB_TOKEN
instead ofGITHUB_API_TOKEN
, and document this breaking change or provide a fallback for backward compatibility.
if [ -n "${GITHUB_TOKEN:-}" ]; then
|
||
- name: Run ${{ matrix.tool.plugin }} version check | ||
run: ${{ matrix.tool.command }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Consider moving GITHUB_TOKEN
into a job-level env:
block under jobs.plugin_test
so that it’s automatically available to all steps, reducing duplication.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Copilot uses AI. Check for mistakes.
No description provided.