Skip to content

Parse

Parse #2

Workflow file for this run

name: Parse
on:
workflow_dispatch: {}
schedule:
# every day at midnight
- cron: "0 0 * * *"
jobs:
parse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: jdx/mise-action@v2
- run: uv run --group parse playwright install --with-deps chromium
- run: mise run parse
- id: cpr
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: parse-${{ github.run_number }}
title: "Update screenings"
body: "Automated update of screenings data"
- if: steps.cpr.outputs.pull-request-number
run: gh pr merge ${{ steps.cpr.outputs.pull-request-number }} --rebase
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}