Skip to content

Update from PreTalx #573

Update from PreTalx

Update from PreTalx #573

Workflow file for this run

name: Update from PreTalx
on:
schedule:
- cron: "30 13,1 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
update-and-pr:
name: Update and PR
runs-on: ubuntu-latest
steps:
- name: Run Timestamp
run: date
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/[email protected]
- name: Install Poetry
run: |
cd scripts
pip install -U pip
pip install poetry
poetry install
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Get PreTalx Data
run: ./scripts/pretalx.py get-event-data
env:
PRETALX_API_KEY: ${{ secrets.PRETALX_API_KEY }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: Update data from PreTalx
title: Update data from PreTalx
author: PyOhio Automation <[email protected]>
committer: PyOhio Automation <[email protected]>
body: |
This is an automatic data update from PreTalx.
- Review changes to ensure they are appropriate to publish.
- If so, merge.
- If not, update data in PreTalx and re-run this workflow.
labels: |
automated-pr
branch: automatic-updates-from-pretalx
delete-branch: true