integrations / slack

Bring your code to the conversations you care about with the GitHub and Slack integration
https://slack.github.com/
MIT License
2.98k stars 468 forks source link

Workflow notification filters for certain tags #1802

Open fpopic opened 7 months ago

fpopic commented 7 months ago

Is your feature request related to a problem? Please describe. I would like to be able to define workflow notification filters for certain tags, and not only branches.

Describe the solution you'd like Be able to specify one or more tag or tag filter patterns, alongside with branch.

/github subscribe org/repo workflows:{event:"push" tag:"v[0-9]+\.[0-9]+\.[0-9]+", "v[0-9]+\.[0-9]+\.[0-9]+\-[a-z]+[0-9]+" actor:"ashokirla"}

Describe alternatives you've considered Not any.

Additional context Not any.

Similar functionality as in

on:
  push:
    tags:
      # NOTE: These filter patterns aren't actually regexes:
      #   https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
      - 'v[0-9]+\.[0-9]+\.[0-9]+'
      - 'v[0-9]+\.[0-9]+\.[0-9]+\-[a-z]+[0-9]+'