I’ve been trying to build automation on top of GitHub Actions. While Buildkite is great for running builds, the Actions ecosystem (theoretically) let’s me automate a bunch of manual tasks around PRs.
I’ve been trying to write a GitHub action that merges a PR opened by Dependabot once all checks pass (as well as several other things, but that’s the easy example right now), but I can’t figure out what event to listen for. check_suite.completed seems like the right event, and though it fires multiple times in a PR, it doesn’t seem to fire when the Buildkite build completes. I also tried the status event, but that one didn’t seem to fire at.
Can anyone suggest how I might do this?