Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
contents: read # Does not need write access
contents: read

steps:
- name: Checkout repository
Expand All @@ -22,14 +22,16 @@ jobs:
with:
python-version: "3.12"

- name: Set up uv
uses: astral-sh/setup-uv@v1
- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Install Dependencies
run: uv pip install boto3
- name: Install project and dependencies
run: |
uv sync --all-extras --dev
uv pip install -e . --no-deps

- name: Run Cleanup Script
run: python .github/scripts/cleanup_staging_bucket.py
run: uv run .github/scripts/cleanup_staging_bucket.py
env:
R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }}
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Dataset to R2

on:
push:
branches: ["develop"]
branches: ["main"]

permissions:
id-token: write
Expand Down