Skip to content

Multiple improvements to automated dependency updates #4

Multiple improvements to automated dependency updates

Multiple improvements to automated dependency updates #4

Workflow file for this run

name: Update dependencies
on:
pull_request:
branches: [ master ]
schedule:
- cron: "0 7 * * 1" # Run every Monday at 7am UTC
# | | | | |
# | | | | day of the week (0–6) (Sunday to Saturday)
# | | | month (1–12)
# | | day of the month (1–31)
# | hour (0–23)
# minute (0–59)
workflow_dispatch: # Enables manual trigger
jobs:
update_dependencies:
name: Update dependencies
runs-on: ubuntu-latest
steps:
- name: Checks-out repository
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install requests
- name: Run update script
run: python3 .github/workflows/update-deps.py --debug --bump=major
- name: Create Pull Request
if: hashFiles('/tmp/create-pr') != ''
uses: cfengine/create-pull-request@v6
with:
title: Updated dependencies
body: Automated dependency updates
reviewers: |
olehermanse
larsewi
craigcomstock
branch: update-dependencies-action