Update from Releases #1543
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: Update from Releases | |
on: | |
push: | |
schedule: | |
# At the end of every day | |
- cron: 0 0 * * * | |
workflow_dispatch: | |
jobs: | |
Update: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install Python Modules | |
run: | | |
python --version | |
pip install PyGitHub==1.45 | |
- name: Update | |
id: update | |
run: | | |
./update.py --set-outputs | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: "${{steps.update.outputs.title}}\n\n${{steps.update.outputs.body}}" | |
title: ${{steps.update.outputs.title}} | |
body: ${{steps.update.outputs.body}} | |
delete-branch: true | |
reviewers: | | |
johnhaddon | |
murraystevenson |