diff --git a/.github/workflows/export_to_csv.yml b/.github/workflows/export_to_csv.yml index 898da4b12..ec4483aba 100644 --- a/.github/workflows/export_to_csv.yml +++ b/.github/workflows/export_to_csv.yml @@ -47,7 +47,7 @@ jobs: runs-on: ubuntu-latest # The user can opt out of uploading the csv if triggered by hand. # If triggered by a push, always upload. - if: ${{ github.event.inputs.upload_to_gcs == 'true' }} + if: ${{ github.event.inputs.upload_to_gcs == 'true' || github.event_name == 'push' }} steps: - uses: actions/checkout@v2 - name: Download the catalog of sources CSV artifact