Workflow on release publish doesn't trigger for new releases targeting other branches than main #144130
-
Hi all! For what I understood, workflows into main branch in .github/workflows folder should be valid also for other branches. Should I put my workflow in each branch I want to use as target for a release? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Just tried this, too... didn't work with a target different than main. on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
branches:
- '*' |
Beta Was this translation helpful? Give feedback.
-
Seems like the right answer is: every branch you want workflows to run on, must have its own .github/workflows folder, with its workflows copy |
Beta Was this translation helpful? Give feedback.
Seems like the right answer is: every branch you want workflows to run on, must have its own .github/workflows folder, with its workflows copy