Update packages #120
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 packages | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '4 4 * * 0' | |
env: | |
GIT_AUTHOR_NAME: canidepend | |
GIT_AUTHOR_EMAIL: actions@github.com | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'canidepend' | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pip3 install zstandard | |
- run: cd data && python3 data.py | |
- name: Open a PR | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
commit-message: "Update package data" | |
branch: "bump-data" | |
title: "Update package data" | |
body: '' | |
delete-branch: true |