Skip to content

Instantly share code, notes, and snippets.

@DamianZaremba
Last active July 6, 2021 11:06
Show Gist options
  • Save DamianZaremba/31aba8ea7009014b33ca591ff74fab6b to your computer and use it in GitHub Desktop.
Save DamianZaremba/31aba8ea7009014b33ca591ff74fab6b to your computer and use it in GitHub Desktop.
pyup actions template
update: all
pin: True
search: True
close_prs: True
name: Update dependencies using pyup
on:
push:
branches: [master]
schedule:
- cron: '30 8 * * *'
permissions:
contents: write
issues: read
pull-requests: write
jobs:
pyup:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with: {python-version: '3.9'}
- name: Install pyup
run: pip install git+https://github.com/DamianZaremba/pyup.git@gh-action-fixes
- name: Run pyup
run: pyup --provider=github --provider_url=https://api.github.com --integration --repo=${GITHUB_REPOSITORY} --branch=main --user-token=${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment