update-package-url #720
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-package-url | |
"on": | |
workflow_dispatch: | |
schedule: | |
# Run at 07:00 on Mondays | |
# * is a special character in YAML so you have to quote this string | |
- cron: "0 7 * * *" | |
jobs: | |
update-package-url: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🔽 Checkout | |
uses: actions/[email protected] | |
- name: 🚀 Setup Taskfile | |
uses: arduino/setup-task@v2 | |
- name: 🔽 Install poetry | |
run: pipx install poetry | |
- name: 🚀 Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: "poetry" | |
- name: 🔼 Update package_url.yaml | |
run: task role:update-package-urls | |
- name: 🔨 Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
labels: automation | |
branch: update-package-url | |
delete-branch: true | |
commit-message: "chore(deploy): Update package url list" | |
title: "chore(deploy): Update package url list" | |
body: "automatic package url update" |