Skip to content

Commit

Permalink
Specify force_ci/** branch pattern that can force a workflow to run
Browse files Browse the repository at this point in the history
The previous commit restricting build.yml to only run on 'main'
(same as newly-introduced debian.yml). But it's useful to be able
to see CI runs, during development _before_ opening a pull request.

A branch pattern is added so that forcing CI to run is possible.
  • Loading branch information
dato committed Dec 1, 2021
1 parent 89fb0c2 commit daefdf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
pull_request:
push:
branches:
- main
- 'main'
- 'force_ci/all/**' # For development, forcing all workflows to run.
- 'force_ci/build/**' # For debugging and/or only forcing this workflow.

jobs:
# Build the RocksDB C library and cache the result.
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ on:
pull_request:
push:
branches:
- main
- workflows/debian # For debugging.
- 'main'
- 'force_ci/all/**' # For development, forcing all workflows to run.
- 'force_ci/debian/**' # For debugging and/or only forcing this workflow.

jobs:
debian-build:
Expand Down

0 comments on commit daefdf4

Please sign in to comment.