Run CI on release branches (#3814)
This commit is contained in:
parent
ab46a292d8
commit
43a6fd7089
2 changed files with 5 additions and 5 deletions
6
.github/workflows/cypress.yml
vendored
6
.github/workflows/cypress.yml
vendored
|
@ -1,9 +1,9 @@
|
|||
name: Cypress
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [main, release/**]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
branches: [main, release/**]
|
||||
schedule:
|
||||
- cron: '0 4 * * *'
|
||||
workflow_dispatch:
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
- name: Check out Keycloak Server
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ${{ inputs.keycloakRepo || 'keycloak/keycloak' }}
|
||||
repository: ${{ inputs.keycloakRepo || (contains(github.ref, 'release/') && github.ref || 'keycloak/keycloak') }}
|
||||
ref: ${{ inputs.keycloakBranch || 'main' }}
|
||||
path: keycloak-repo
|
||||
|
||||
|
|
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -1,9 +1,9 @@
|
|||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [main, release/**]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
branches: [main, release/**]
|
||||
concurrency:
|
||||
# Only cancel jobs for new commits on PRs, and always do a complete run on other branches (e.g. `main`).
|
||||
# See: https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
|
||||
|
|
Loading…
Reference in a new issue