Last active
July 6, 2021 11:06
-
-
Save DamianZaremba/31aba8ea7009014b33ca591ff74fab6b to your computer and use it in GitHub Desktop.
pyup actions template
This file contains hidden or 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
update: all | |
pin: True | |
search: True | |
close_prs: True |
This file contains hidden or 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 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