Skip to content

Github action GLOB event filtering DOES NOT work as expected #26335

Discussion options

You must be logged in to vote

Hey @kingthorin, your suggestion works! Thank you so much!

Just to summarised the solution:

# bump-my-tag-version.yaml
name: Bump my tag version!

on:
push:
branches:
- 'master'
paths:
- '/production/' # <-- added 2 asterisks here
- '!excluded_dir/production/**' # <-- added 2 asterisks here

jobs:
bump-version:
runs-on: ubuntu-20.04

Replies: 4 comments

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
Answer selected
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
2 participants