create-update-pr #1098
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: create-update-pr | |
on: | |
schedule: | |
# Once a day, when doesn't matter, let's be nice and not do it at 00:00 like everybody else does. | |
- cron: '22 2 * * *' | |
jobs: | |
create-pull-request-for-updated-dockerfiles: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: update_dockerfiles | |
run: ./update.sh | |
- name: create_pull_request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
title: auto-update | |
body: updated Django, Gunicorn or pytz version | |
commit-message: updated Django, Gunicorn or pytz version |