Dockerfile Updater #26675
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: Dockerfile Updater | |
on: | |
workflow_dispatch: | |
schedule: | |
# Runs every half hour | |
- cron: "*/30 * * * *" | |
permissions: | |
contents: read | |
jobs: | |
update_dockerfile: | |
if: startsWith(github.repository, 'adoptium/') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
with: | |
persist-credentials: false | |
- name: Run updater | |
run: " bash update_all.sh" | |
- uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee # v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.ADOPTIUM_TEMURIN_BOT_TOKEN }} | |
with: | |
title: "Update Dockerfiles" | |
body: "This is an automatically generated pull request, it will be automatically merged if all the CI tests pass." | |
branch: "dockerfile_bot" | |
commit-message: "dockerfile: automated nightly updates" | |
labels: automerge | |
author: "eclipse-temurin-bot <[email protected]>" |