Skip to content

Webhook notifications for tags #369

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

Open
AleksandarCole opened this issue Jun 9, 2025 · 0 comments
Open

Webhook notifications for tags #369

AleksandarCole opened this issue Jun 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@AleksandarCole
Copy link
Collaborator

Is your improvement proposal related to a problem? Please describe.

Users are trying to set up webhook notifications specifically for failed tag builds, but these notifications are not triggering as expected. Currently, webhook notifications in the YAML configuration don't support tag-based filtering, making it impossible to create notifications that trigger exclusively for tag builds. This is particularly problematic for users who use tags for production releases and need immediate alerts when tag builds fail.

Describe the solution you'd like

Add support for tag-based filtering in the YAML notification configuration:

notifications:
  - name: "Production Release Failures"
    type: webhook
    endpoint: "https://example.com/webhook"
    events:
      - pipeline_done
    filter:
      result: failed
      tag: "v*"  # New: filter by tag pattern
      
  - name: "Tag Build Notifications"
    type: webhook  
    endpoint: "https://example.com/webhook"
    events:
      - pipeline_done
    filter:
      result: failed
      ref_type: tag  # New: filter by reference type (tag vs branch)
      tag: "release-*"  # New: tag pattern matching

Key features needed:

  • ref_type field to distinguish between tag and branch builds
  • tag field for pattern matching on tag names
  • Ability to exclude branch builds when only tag notifications are desired
  • Support for wildcards and regex patterns in tag matching

Describe alternatives you've considered

No response

Additional context

No response

@AleksandarCole AleksandarCole added the enhancement New feature or request label Jun 9, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Roadmap Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant