Skip to content

Commit daefdf4

Browse files
committed
Specify force_ci/** branch pattern that can force a workflow to run
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.
1 parent 89fb0c2 commit daefdf4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
pull_request:
66
push:
77
branches:
8-
- main
8+
- 'main'
9+
- 'force_ci/all/**' # For development, forcing all workflows to run.
10+
- 'force_ci/build/**' # For debugging and/or only forcing this workflow.
911

1012
jobs:
1113
# Build the RocksDB C library and cache the result.

.github/workflows/debian.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- main
8-
- workflows/debian # For debugging.
7+
- 'main'
8+
- 'force_ci/all/**' # For development, forcing all workflows to run.
9+
- 'force_ci/debian/**' # For debugging and/or only forcing this workflow.
910

1011
jobs:
1112
debian-build:

0 commit comments

Comments
 (0)