active ci for rel branches (#42)
* active ci for rel branches
* Apply suggestions from code review
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index b1c1f3c..47e8d28 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -2,9 +2,19 @@
on:
push:
- branches: [ main ]
+ branches:
+ - main
+ - 'rel/*'
pull_request:
- branches: [ main ]
+ branches:
+ - main
+ - 'rel/*'
+ # allow manually run the action:
+ workflow_dispatch:
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
jobs:
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 90046ed..f876414 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -2,9 +2,20 @@
on:
push:
- branches: [ main ]
+ branches:
+ - main
+ - 'rel/*'
pull_request:
- branches: [ main ]
+ branches:
+ - main
+ - 'rel/*'
+ # allow manually run the action:
+ workflow_dispatch:
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs: