From 85d809c32cec2a1e390f763cc4d38e86b1f59465 Mon Sep 17 00:00:00 2001 From: Reid Hewitt <92057378+rshewitt@users.noreply.github.com> Date: Wed, 20 May 2026 14:38:40 -0400 Subject: [PATCH 1/2] fix run task args --- .github/workflows/missing_outdated_datasets.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/missing_outdated_datasets.yml b/.github/workflows/missing_outdated_datasets.yml index dc000e481..286d32d0b 100644 --- a/.github/workflows/missing_outdated_datasets.yml +++ b/.github/workflows/missing_outdated_datasets.yml @@ -30,10 +30,7 @@ jobs: uses: cloud-gov/cg-cli-tools@main with: command: | - cf run-task datagov-harvest \ - --name "check-missing-datasets-${{ github.run_id }}" \ - --command "python scripts/count_missing_outdated_datasets.py" \ - -m 2G + cf run-task datagov-harvest --name "check-missing-datasets-${{ github.run_id }}" --command "python scripts/count_missing_outdated_datasets.py" -m 2G cf_org: gsa-datagov cf_space: ${{ github.event_name == 'schedule' && 'prod' || inputs.environment }} From 211afbb3e49cf8f5e3b809737cde9a76775154c7 Mon Sep 17 00:00:00 2001 From: Reid Hewitt <92057378+rshewitt@users.noreply.github.com> Date: Wed, 20 May 2026 15:21:53 -0400 Subject: [PATCH 2/2] shorten action name; make run task command multiline --- .github/workflows/missing_outdated_datasets.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/missing_outdated_datasets.yml b/.github/workflows/missing_outdated_datasets.yml index 286d32d0b..496db6c65 100644 --- a/.github/workflows/missing_outdated_datasets.yml +++ b/.github/workflows/missing_outdated_datasets.yml @@ -1,4 +1,4 @@ -name: Check missing datasets in harvester +name: Check missing datasets on: schedule: @@ -29,8 +29,10 @@ jobs: - name: run task uses: cloud-gov/cg-cli-tools@main with: - command: | - cf run-task datagov-harvest --name "check-missing-datasets-${{ github.run_id }}" --command "python scripts/count_missing_outdated_datasets.py" -m 2G + command: > + cf run-task datagov-harvest + --name "check-missing-datasets-${{ github.run_id }}" + --command "python scripts/count_missing_outdated_datasets.py" -m 2G cf_org: gsa-datagov cf_space: ${{ github.event_name == 'schedule' && 'prod' || inputs.environment }}