From 53e31867a7fba8e1d5a2044f17f55addbda785b5 Mon Sep 17 00:00:00 2001 From: Ben Jarmak <104460670+jarmak-nv@users.noreply.github.com> Date: Fri, 14 Jun 2024 12:18:28 -0400 Subject: [PATCH 1/2] Update pr_issue_status_automation.yml --- .github/workflows/pr_issue_status_automation.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_issue_status_automation.yml b/.github/workflows/pr_issue_status_automation.yml index 837963c3286..d850ad05ca9 100644 --- a/.github/workflows/pr_issue_status_automation.yml +++ b/.github/workflows/pr_issue_status_automation.yml @@ -21,7 +21,7 @@ on: # Only runs if the PR is open (we don't want to update the status of a closed PR) types: [opened, edited, synchronize] -jobs: +jobs: get-project-id: uses: rapidsai/shared-workflows/.github/workflows/project-get-item-id.yaml@branch-24.08 if: github.event.pull_request.state == 'open' @@ -35,7 +35,7 @@ jobs: update-status: # This job sets the PR and its linked issues to "In Progress" status uses: rapidsai/shared-workflows/.github/workflows/project-get-set-single-select-field.yaml@branch-24.08 - if: github.event.pull_request.state == 'open' + if: ${{ github.event.pull_request.state == 'open' && needs.get-project-id.outputs.ITEM_PROJECT_ID != '' }} needs: get-project-id with: PROJECT_ID: "PVT_kwDOAp2shc4AiNzl" @@ -51,7 +51,7 @@ jobs: update-sprint: # This job sets the PR and its linked issues to the current "Weekly Sprint" uses: rapidsai/shared-workflows/.github/workflows/project-get-set-iteration-field.yaml@branch-24.08 - if: github.event.pull_request.state == 'open' + if: ${{ github.event.pull_request.state == 'open' && needs.get-project-id.outputs.ITEM_PROJECT_ID != '' }} needs: get-project-id with: PROJECT_ID: "PVT_kwDOAp2shc4AiNzl" From adfc9a6f435672fdbbf5df47bc2c045dcac399d0 Mon Sep 17 00:00:00 2001 From: Ben Jarmak <104460670+jarmak-nv@users.noreply.github.com> Date: Fri, 14 Jun 2024 12:23:31 -0400 Subject: [PATCH 2/2] spacing --- .github/workflows/pr_issue_status_automation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_issue_status_automation.yml b/.github/workflows/pr_issue_status_automation.yml index d850ad05ca9..8ca971dc28d 100644 --- a/.github/workflows/pr_issue_status_automation.yml +++ b/.github/workflows/pr_issue_status_automation.yml @@ -21,7 +21,7 @@ on: # Only runs if the PR is open (we don't want to update the status of a closed PR) types: [opened, edited, synchronize] -jobs: +jobs: get-project-id: uses: rapidsai/shared-workflows/.github/workflows/project-get-item-id.yaml@branch-24.08 if: github.event.pull_request.state == 'open'