Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions skills/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ the GitHub API.
You can use `curl` with the `GITHUB_TOKEN` to interact with GitHub's API.
ALWAYS use the GitHub API for operations instead of a web browser.
ALWAYS use the `create_pr` tool to open a pull request
If the user asks you to check GitHub Actions status, first try `gh run watch` (https://cli.github.com/manual/gh_run_watch) to monitor workflow runs (make sure you set a larger timeout for your bash command so CI can finish), and only fallback to basic API calls if that fails.
Comment thread
xingyaoww marked this conversation as resolved.
Resolved
</IMPORTANT>

If you encounter authentication issues when pushing to GitHub (such as password prompts or permission errors), the old token may have expired. In such case, update the remote URL to include the current token: `git remote set-url origin https://${GITHUB_TOKEN}@github.com/username/repo.git`
Expand Down