Latest Dependency Checker #516
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: Latest Dependency Checker | |
on: | |
schedule: | |
- cron: '0 0 * * 1' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install package | |
run: | | |
pip install --upgrade pip | |
pip install invoke .[test] | |
- name: Update dependencies | |
run: make checkdeps OUTPUT_PATH=tests/requirement_files/latest_requirements.txt | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.REPO_SCOPED_TOKEN }} | |
commit-message: Update latest dependencies | |
title: Automated Latest Dependency Updates | |
body: "This is an auto-generated PR with **latest** dependency updates." | |
branch: latest-dep-update | |
branch-suffix: short-commit-hash | |
base: master | |
team-reviewers: core |