update-elements #53
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-elements | |
on: | |
schedule: | |
- cron: "0 0 1 * *" | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Hatch | |
run: pipx install hatch | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Install script dependencies | |
working-directory: ./spec_parser | |
run: poetry install | |
- name: Run script | |
working-directory: ./spec_parser | |
run: poetry run parse | |
- name: Format code | |
run: hatch run ruff-format | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
token: ${{ secrets.MACHINE_USER_PAT }} | |
push-to-fork: prnss/domify | |
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | |
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | |
commit-message: "Update elements" | |
title: "Update elements" | |
branch: update-elements |