remove-retractions-from-catalog #588
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: remove-retractions-from-catalog | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 3 * * * | |
jobs: | |
auth-filter-upload: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@v4 | |
- id: 'auth' | |
name: 'Authenticate to Google Cloud' | |
uses: 'google-github-actions/[email protected]' | |
with: | |
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}' | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- run: > | |
pip install gcsfs tqdm pandas | |
- id: 'upload-script' | |
run: python create_filtered_catalog.py | |
- id: 'save-missing-instances' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: missing-instance-ids | |
path: missing_instance_ids_*.csv |