Upgrade dependency locks #3
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@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
submodules: "true" | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d | |
with: | |
python-version: "3.11" | |
- 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@6d6857d36972b65feb161a90e484f2984215f83e | |
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 }} |