Skip to content

Commit 98cf0d9

Browse files
authored
ci: Update workflows to run on PRs and pushes to release branches (#1163)
This updates the actions to run on `release/` branches for PRs and pushes. I believe this will need to be cherry-picked back to the release branches The double star for the wildcard is from the GitHub docs [here](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#using-filters). Single star works as well, but would not run on `release/v0.19/something` if that ever occurred.
1 parent ac6a514 commit 98cf0d9

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ name: Build and End-to-end Tests
44

55
on:
66
push:
7-
branches: [main]
7+
branches:
8+
- main
9+
- 'release/**'
810
pull_request:
9-
branches: [main]
11+
branches:
12+
- main
13+
- 'release/**'
1014
env:
1115
DOCKER_TAG: edge
1216
jobs:

.github/workflows/unit.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ name: Unit Tests
44

55
on:
66
push:
7-
branches: [main]
7+
branches:
8+
- main
9+
- 'release/**'
810
pull_request:
9-
branches: [main]
11+
branches:
12+
- main
13+
- 'release/**'
1014
jobs:
1115
unit:
1216
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)