forked from adoptium/containers
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 891 Bytes
/
updater.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
name: Dockerfile Updater
on:
workflow_dispatch:
schedule:
# Runs every half hour
- cron: "*/30 * * * *"
jobs:
update_dockerfile:
if: startsWith(github.repository, 'adoptium/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Run updater
run: " bash update_all.sh"
- uses: gr2m/create-or-update-pull-request-action@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]>"