We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb2924f commit e0990eeCopy full SHA for e0990ee
3 files changed
.github/workflows/03-triggers.yaml
@@ -3,9 +3,16 @@ name: Triggering Events
3
4
on:
5
### https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#push
6
- # push:
7
- # branches:
8
- # - main
+ push:
+ branches:
+ # Filter patterns cheat sheet:
9
+ # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
10
+ - "example-branch/*"
11
+ paths:
12
+ # include markdown files
13
+ - "02-mechanics-core/filters/*.md"
14
+ # Exclude txt files
15
+ - "!02-mechanics-core/filters/*.txt"
16
17
### https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
18
# pull_request:
02-mechanics-core/filters/excluded-file.txt
02-mechanics-core/filters/included-file.md
0 commit comments