Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github actions -> Slack integration #375

Open
fgregg opened this issue Aug 13, 2024 · 0 comments
Open

Github actions -> Slack integration #375

fgregg opened this issue Aug 13, 2024 · 0 comments
Assignees

Comments

@fgregg
Copy link
Member

fgregg commented Aug 13, 2024

We are increasingly using github acitons for scheduled ETL jobs.

When that job fails, then a single person gets an email, but github doesn't really provide a way to control who gets that action.

The Slack + GitHub integration can be used to set up notifications of scheduled jobs to a slack channel. using a syntax like this:

/github subscribe datamade/nmid-scrapers workflows:{name:"Scrape data" event:"workflow_dispatch","schedule"}

or

/github subscribe datamade/openness-project-nmid workflows:{name:"Import scraped data to configured database" event:"workflow_dispatch","repository_dispatch"}

Downsides

it will always notify the channel of the action run, not just failing runs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant