From d8283784e99dea8b630f646bf046ada8581ae3f2 Mon Sep 17 00:00:00 2001 From: Leah Bush <157434496+LeahMarieBush@users.noreply.github.com> Date: Fri, 8 Nov 2024 08:50:31 -0600 Subject: [PATCH] fix: update actions for dev-portal-internal (#2622) * fix: update actions for dev-portal-internal * verify wrong name does not work * verify wrong name does not work * change back to correct name --- .github/workflows/playwright.yml | 2 +- .github/workflows/register-preview-url.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index ab629d38e4..55098e0d40 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -2,7 +2,7 @@ name: E2E Tests on: [deployment_status] jobs: test: - if: github.event.deployment_status.state == 'success' && github.event.deployment.environment == 'preview' && github.event.sender.id == 35613825 + if: github.event.deployment_status.state == 'success' && github.event.deployment.environment == 'preview' && github.event.sender.id == 35613825 && github.event.repository.name == 'dev-portal' timeout-minutes: 60 runs-on: ubuntu-latest steps: diff --git a/.github/workflows/register-preview-url.yml b/.github/workflows/register-preview-url.yml index 32cefd8d37..a2d4458b2b 100644 --- a/.github/workflows/register-preview-url.yml +++ b/.github/workflows/register-preview-url.yml @@ -12,7 +12,7 @@ on: jobs: on-deploy: runs-on: ubuntu-latest - if: github.event.deployment_status.state == 'success' && github.event.deployment_status.environment == 'Preview' || github.event_name == 'workflow_dispatch' + if: github.event.deployment_status.state == 'success' && github.event.deployment_status.environment == 'Preview' && github.event.repository.name == 'dev-portal' || github.event_name == 'workflow_dispatch' steps: - name: summary run: |