github-release-checker
Count the number of commits between default branch and tag and send to Slack
266
Send a notification to slack counting the number of commits the github configured default branch (main/master) is behind the tag prod. If tag is not found, repo will be ignored

On release to production, the git-sha should be tagged with the GITHUB_TAG value (default: prod) by your CI/CD pipeline
Slack webhook configured
Configure the incoming webhooks slack integration
Github Github Personal Access Token created
Note: Github Release Checker
Expiration: No Expiration
Scopes: repo:status
The application will exit after it has finished running. It has been designed to be ran as a cron job.
GITHUB_USER OR GITHUB_ORGANISATIONGITHUB_TOKENGITHUB_TAG default prodSLACK_WEBHOOKURLTHRESHOLD_CRITICAL default 3EXCLUDED - list of repo names to ignoreTODO: Build a helm chart (cronjob)
./gradlew bootBuildImage --imageName=nathandeamer/github-release-checkerdocker run \
--env GITHUB_ORGANISATION/GITHUB_USER=x \
--env GITHUB_TOKEN=x \
--env SLACK_WEBHOOKURL=x \
--rm nathandeamer/github-release-checker
Content type
Helm
Digest
sha256:f28cec4d6…
Size
2.3 kB
Last updated
almost 3 years ago
helm pull oci://registry-1.docker.io/nathandeamer/github-release-checker --version 0.1.8