Skip to content

Commit

Permalink
Run CI and Lint workflows on PRs to any branch (#2180)
Browse files Browse the repository at this point in the history
Problem: The single * wasn't matching all possible branch names

Solution: Use globstar to match all kind of names
  • Loading branch information
lucacome authored Jun 27, 2024
1 parent d540f36 commit 7851015
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+*"
pull_request:
branches:
- "*"
- "**"
schedule:
- cron: "0 4 * * *" # run every day at 4am UTC

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
pull_request:
branches:
- "*"
- "**"

defaults:
run:
Expand Down

0 comments on commit 7851015

Please sign in to comment.