try again #9
Workflow file for this run
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: 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 | |