-
Notifications
You must be signed in to change notification settings - Fork 56
43 lines (34 loc) · 1014 Bytes
/
check_updates.yaml
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
name: "Check for newer platform/extension versions"
on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check_updates:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.REGISTRY_QUARKUS_BOT_PAT }}
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Configure Git author
run: |
git config --local user.name "quarkusbot"
git config --local user.email "[email protected]"
- name: Set up JBang
uses: jbangdev/setup-jbang@main
- name: Run Check Updates script
run: |
jbang trust add https://github.com/quarkusio/
jbang catalog_check_updates@quarkusio --working-directory=.
- name: Push changes to main
run: git push