Skip to content

Add workflow to post Dependabot alerts to Slack#20

Merged
JamesBuzaid-at merged 2 commits into
mainfrom
buzz-dependabot-slack-alerts
Jul 6, 2026
Merged

Add workflow to post Dependabot alerts to Slack#20
JamesBuzaid-at merged 2 commits into
mainfrom
buzz-dependabot-slack-alerts

Conversation

@JamesBuzaid-at

@JamesBuzaid-at JamesBuzaid-at commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

This is a CI only change, not a release, so I'm not bumping the version. I'm just syncing over this file from https://github.com/Hyperbase/airtable-mcp-cli-internal/pull/31.

Claude summary

Adds the Dependabot → Slack workflow to the public repo. Manually synced from the internal repo (the source of truth) as a single file, with no version bump — this is a CI-only change, not a release.

The workflow fires on the `dependabot_alert` event (created/reopened) and posts a Block Kit message to a Slack incoming webhook. It reads everything from the event payload, so there's no GitHub API call or PAT. Guarded with `if: github.repository == 'Airtable/airtable-mcp-cli'`, matching the release workflow.

This uses the SLACK_WEBHOOK_URL secret which is already set on this repo.

Test Plan

No additional testing here. Verified in the internal PR (Hyperbase/airtable-mcp-cli-internal#31): event/action types, payload field paths (against GitHub's REST schema and a live alert), and that the jq-built Slack payload is valid JSON. A real dependabot_alert event can't be fired on demand, so the first real alert is the true test.

I also verified the curl works with the webhook URL in question.

Manual sync of the workflow from the internal repo (no version bump). Fires on the dependabot_alert event and posts a Block Kit message to a Slack incoming webhook, guarded to the public repo. Requires the SLACK_WEBHOOK_URL secret.
@JamesBuzaid-at
JamesBuzaid-at merged commit cb61a3f into main Jul 6, 2026
5 checks passed
@JamesBuzaid-at
JamesBuzaid-at deleted the buzz-dependabot-slack-alerts branch July 6, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants