A Sun plugin for GitHub. It opens and
finds pull requests, comments on them (at most once per idempotency key),
attaches images, rolls up CI status, sets commit statuses and searches issues.
It also turns verified GitHub webhook deliveries forwarded by the kernel into
the issue_labeled, pr_review, pr_merged and pr_state triggers. It talks
only to api.github.com and reads one secret, GITHUB_TOKEN. See mod.yaml.
sun plugin add githubcargo build --release
mkdir mod-github && cp target/release/mod-github mod.yaml mod-github/
sun plugin add ./mod-githubsun plugin add takes a folder holding mod.yaml and the mod-github binary.
- Bump
versioninCargo.tomlandmod.yaml(keep them equal), commit. - Tag
v<version>and push the tag. The release workflow (cargo-dist,.github/workflows/release.yml) uploadsmod-github-<target>.tar.gzforaarch64-apple-darwin,x86_64-unknown-linux-muslandaarch64-unknown-linux-musl. - Open a PR to
madlabs-tech/sun-aibumping this plugin's entry incatalog/mods.json(version and permissions).
Apache-2.0, see LICENSE.