Update dependencies #197
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 dependencies | |
on: | |
schedule: | |
- cron: '0 3 * * 6' # Run every saturday at 3 am. | |
workflow_dispatch: | |
jobs: | |
update_dependencies: | |
name: Update dependencies | |
if: github.repository_owner == 'galaxyproject' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Install Python 3.8 for update_lint_requirements.sh | |
# Install Python 3.9 (as default) to allow `uv lock` to generate metadata for rucio-clients | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: | | |
3.8 | |
3.9 | |
- name: Update dependencies | |
run: make update-dependencies | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
author: galaxybot <[email protected]> | |
token: ${{ secrets.GALAXYBOT_PAT }} | |
commit-message: | | |
Update Python dependencies | |
by running `make update-dependencies`. | |
branch: dev_auto_update_dependencies | |
delete-branch: true | |
push-to-fork: galaxybot/galaxy | |
title: Update Python dependencies | |
body: by running `make update-dependencies`. | |
labels: | | |
area/dependencies | |
kind/enhancement |