Skip to content

try again

try again #9

name: PR Views to PrefectHQ/prefect
on:
push:
branches:
- pr-worker-view
# paths:
# - 'views/aggregate-worker-metadata.json'
env:
PREFECT_API_KEY: ${{ secrets.PREFECT_PRD_INTEGRATIONS_WORKSPACE_API_KEY }}
jobs:
update-views:
name: Send updated views to PrefectHQ/prefect
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: pip
cache-dependency-path: requirements*.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade --upgrade-strategy eager -e ".[dev]"
- name: Set workspace
run: prefect cloud workspace set -w prefect-technologies/integrations
- name: Open PRs to PrefectHQ/prefect
run: python src/pr_views_to_core.py