Files
sunnypilot/.github/workflows/update-pipfile.yml
Willem Melching 167ac83f8e only run pipfile action on schedule
old-commit-hash: db8f3aee11
2020-05-27 18:49:00 -07:00

24 lines
618 B
YAML

name: "Update Pipfile.lock"
on:
schedule:
- cron: '00 15 * * 1' # Every monday on 15:00 UTC
jobs:
piplock:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install wheel
- run: pip install pipenv
- run: pipenv lock
- uses: actions/upload-artifact@v2
with:
name: "Pipfile lock"
path: Pipfile.lock
- uses: peter-evans/create-pull-request@v2
with:
title: "Update Pipfile.lock (dependencies)"
branch: update-pipfile
commit-message: "[Bot] Update Pipfile.lock dependencies"