Keycloak
1name: Quarkus Next
2
3on:
4schedule:
5- cron: '0 0 * * *'
6workflow_dispatch:
7
8defaults:
9run:
10shell: bash
11
12concurrency:
13# Only cancel jobs for PR updates
14group: quarkus-next-${{ github.ref }}
15cancel-in-progress: true
16
17jobs:
18update-quarkus-next-branch:
19name: Update quarkus-next branch
20if: github.event_name != 'schedule' || github.repository == 'keycloak/keycloak'
21runs-on: ubuntu-latest
22
23steps:
24- uses: actions/checkout@v4
25with:
26ref: main
27fetch-depth: 0
28
29- name: Configure Git
30run: |
31git config --global user.email "github-actions[bot]@users.noreply.github.com"
32git config --global user.name "github-actions[bot]"
33
34- name: Cherry-pick additional commits in quarkus-next
35run: |
36${GITHUB_WORKSPACE}/.github/scripts/prepare-quarkus-next.sh
37
38- name: Push changes
39run: |
40git push -f origin HEAD:quarkus-next
41
42run-matrix-with-quarkus-next:
43name: Run workflow matrix with the quarkus-next branch
44runs-on: ubuntu-latest
45needs:
46- update-quarkus-next-branch
47
48strategy:
49matrix:
50workflow:
51- ci.yml
52- operator-ci.yml
53
54steps:
55- name: Run workflow with the nightly Quarkus release
56run: gh workflow run -R ${{ github.repository }} ${{ matrix.workflow }} -r quarkus-next
57env:
58GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59