Skip to content

Instantly share code, notes, and snippets.

@kyanny kyanny/main.workflow
Created Jul 29, 2019

Embed
What would you like to do?
workflow "Post labeled issue to Slack" {
resolves = ["GitHub Action for Slack"]
on = "issues"
}
action "Filters for GitHub Actions-1" {
uses = "actions/bin/filter@0dbb077f64d0ec1068a644d25c71b1db66148a24"
args = "action labeled"
}
action "Filters for GitHub Actions-2" {
uses = "actions/bin/filter@0dbb077f64d0ec1068a644d25c71b1db66148a24"
args = "label wontfix"
needs = ["Filters for GitHub Actions-1"]
}
action "GitHub Action for Slack" {
uses = "Ilshidur/action-slack@a6d9e9ed519555c498265694cf2d7367d9dc6926"
args = "labeled issue has updated {{ _.map(EVENT_PAYLOAD.issue.labels, function(label) { return label.name }) }} {{ EVENT_PAYLOAD.issue.html_url }}"
needs = ["Filters for GitHub Actions-2"]
secrets = ["SLACK_WEBHOOK"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.