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