diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8181bc6..16d2bb2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,7 +26,7 @@ on: jobs: deployment: name: Deployment - if: github.actor != 'adp-devsite-app[bot]' && github.repository != 'AdobeDocs/dev-docs-template' + if: github.repository_owner == 'AdobeDocs' && github.actor != 'adp-devsite-app[bot]' && github.repository != 'AdobeDocs/dev-docs-template' uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy-v2.yml@main secrets: inherit with: diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index ff65804..807bbfe 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -11,7 +11,7 @@ permissions: jobs: comment: - uses: AdobeDocs/adp-devsite-workflow/.github/workflows/pr-comment-v3.yml@DEVSITE-2424 + uses: AdobeDocs/adp-devsite-workflow/.github/workflows/pr-comment-v3.yml@main 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 0f3f286..68f2f9b 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -5,7 +5,7 @@ on: jobs: validate: - uses: AdobeDocs/commerce-contributor/.github/workflows/validate-pr.yml@workflow-update + uses: AdobeDocs/commerce-contributor/.github/workflows/validate-pr.yml@main with: base_ref: ${{ github.event.pull_request.base.ref }} pr_number: ${{ github.event.pull_request.number }}