feat: watch your pull requests and send what changed to keybars Pro #1

Open
jwarykowski wants to merge 3 commits from feat/watch into main
Owner

gh keybars start checks GitHub every minute through gh's GraphQL search and sends what changed with -source github: ci.running/passed/failed (head branch), review.approved/changes_requested and pull_request.merged (base branch) on your pull requests, and pull_request.review_requested when you're asked. The same events and branches as the relay's GitHub provider, so github-ci-pack, review-nudges and merge-confetti play them unchanged.

The first check only records state. Searching rather than viewer.pullRequests skips SAML-protected orgs instead of failing.

Tests use a fake gh and keybars-pro (also on bash 3.2); once -n checked against the real GitHub.

`gh keybars start` checks GitHub every minute through gh's GraphQL search and sends what changed with `-source github`: ci.running/passed/failed (head branch), review.approved/changes_requested and pull_request.merged (base branch) on your pull requests, and pull_request.review_requested when you're asked. The same events and branches as the relay's GitHub provider, so github-ci-pack, review-nudges and merge-confetti play them unchanged. The first check only records state. Searching rather than `viewer.pullRequests` skips SAML-protected orgs instead of failing. Tests use a fake gh and keybars-pro (also on bash 3.2); `once -n` checked against the real GitHub.
feat: watch your pull requests and send what changed to keybars Pro
Some checks failed
CI / check (pull_request) Failing after 19s
772cdff17f
Polls GitHub through gh every minute and sends checks, reviews, merges and
review requests as keybars Pro's GitHub events, so the GitHub packs play
them with no webhooks. start and stop run it in the background.
fix: shellcheck 0.9's A && B || C warning
All checks were successful
CI / check (pull_request) Successful in 20s
dff81ba954
ci: run in the job image, with nothing from GitHub
All checks were successful
CI / check (pull_request) Successful in 8s
4142230506
All checks were successful
CI / check (pull_request) Successful in 8s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/watch:feat/watch
git switch feat/watch

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feat/watch
git switch feat/watch
git rebase main
git switch main
git merge --ff-only feat/watch
git switch feat/watch
git rebase main
git switch main
git merge --no-ff feat/watch
git switch main
git merge --squash feat/watch
git switch main
git merge --ff-only feat/watch
git switch main
git merge feat/watch
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jwarykowski/gh-keybars!1
No description provided.