Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/pr-comment.yml
Original file line number Diff line number Diff line change
@@ -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 }}
3 changes: 2 additions & 1 deletion .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is currently using workflow-update branch from contributor repo, once the PR on contributor is approved and merged, switch this back to main

with:
base_ref: ${{ github.event.pull_request.base.ref }}
pr_number: ${{ github.event.pull_request.number }}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

required by artifact

Loading