Skip to content

How to create filter on both tag and branch #25244

Answered by Yanjingzhu
swenzel asked this question in Actions
Discussion options

You must be logged in to vote

Based on current paths/tags filter for on: push event, it doesn’t supported to filter a commit which are included in a release tag meanwhile in master branch.

There is a way to trigger a workflow when a new release published , using

on:

  release:

    types: [published]

Please refer to this document: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#release-event-release

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants