Upgrade dependency locks #23
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: Upgrade dependency locks | |
on: | |
schedule: | |
- cron: "0 12 1 * *" | |
workflow_dispatch: | |
jobs: | |
upgrade-deps: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 | |
with: | |
submodules: "true" | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 | |
with: | |
python-version: "3.9" | |
- name: install prerequisites | |
run: | | |
python -m pip install --upgrade pip wheel | |
python -m pip install -r ./piped/python/base-requirements/nox.txt | |
- name: Upgrade dependency locks | |
run: python -m nox -s freeze-locks | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f | |
with: | |
author: "always-on-duty[bot] <120557446+always-on-duty[bot]@users.noreply.github.com>" | |
branch: task/upgrade-deps | |
commit-message: Upgrade dependency locks | |
committer: "always-on-duty[bot] <120557446+always-on-duty[bot]@users.noreply.github.com>" | |
title: Upgrade dependency locks | |
token: ${{ secrets.ACTIONS_TOKEN || secrets.GITHUB_TOKEN }} |