forked from adoptium/containers
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 1012 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
30
31
32
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 <temurin-bot@eclipse.org>"