Check for newer platform/extension versions #5021
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |