From ef69685c1dc50abfca2b697e190ea752c468e380 Mon Sep 17 00:00:00 2001 From: yuxuanj Date: Tue, 2 Jun 2026 10:49:02 -0700 Subject: [PATCH 1/2] point workflow refs to DEVSITE-2424 / workflow-update branches --- .github/workflows/pr-comment.yml | 17 +++++++++++++++++ .github/workflows/pr-validation.yml | 3 ++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pr-comment.yml diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml new file mode 100644 index 000000000..53357335d --- /dev/null +++ b/.github/workflows/pr-comment.yml @@ -0,0 +1,17 @@ +--- +name: PR Comment +on: + workflow_run: + workflows: ["PR validation"] + types: + - completed + +permissions: + pull-requests: write + +jobs: + comment: + uses: AdobeDocs/adp-devsite-workflow/.github/workflows/pr-comment.yml@DEVSITE-2424 + with: + run_id: ${{ github.event.workflow_run.id }} + event: ${{ github.event.workflow_run.event }} diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 51af60b59..0f3f28667 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -5,6 +5,7 @@ on: jobs: validate: - uses: AdobeDocs/commerce-contributor/.github/workflows/validate-pr.yml@main + uses: AdobeDocs/commerce-contributor/.github/workflows/validate-pr.yml@workflow-update with: base_ref: ${{ github.event.pull_request.base.ref }} + pr_number: ${{ github.event.pull_request.number }} From e471bcaab350ee8c26404740e0cb04916dcb8498 Mon Sep 17 00:00:00 2001 From: yuxuanj Date: Tue, 2 Jun 2026 10:49:02 -0700 Subject: [PATCH 2/2] update validation and comment workflow for content repo --- .github/workflows/pr-comment.yml | 17 +++++++++++++++++ .github/workflows/pr-validation.yml | 3 ++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pr-comment.yml diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml new file mode 100644 index 000000000..53357335d --- /dev/null +++ b/.github/workflows/pr-comment.yml @@ -0,0 +1,17 @@ +--- +name: PR Comment +on: + workflow_run: + workflows: ["PR validation"] + types: + - completed + +permissions: + pull-requests: write + +jobs: + comment: + uses: AdobeDocs/adp-devsite-workflow/.github/workflows/pr-comment.yml@DEVSITE-2424 + with: + run_id: ${{ github.event.workflow_run.id }} + event: ${{ github.event.workflow_run.event }} diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 51af60b59..0f3f28667 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -5,6 +5,7 @@ on: jobs: validate: - uses: AdobeDocs/commerce-contributor/.github/workflows/validate-pr.yml@main + uses: AdobeDocs/commerce-contributor/.github/workflows/validate-pr.yml@workflow-update with: base_ref: ${{ github.event.pull_request.base.ref }} + pr_number: ${{ github.event.pull_request.number }}