Skip to content

Check for newer platform/extension versions #5215

Check for newer platform/extension versions

Check for newer platform/extension versions #5215

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