Created
July 29, 2019 09:51
-
-
Save kyanny/cd45a6d28b450879d079108c31c0cc40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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