Skip to content

Commit

Permalink
fix: update actions for dev-portal-internal (#2622)
Browse files Browse the repository at this point in the history
* fix: update actions for dev-portal-internal

* verify wrong name does not work

* verify wrong name does not work

* change back to correct name
  • Loading branch information
LeahMarieBush authored Nov 8, 2024
1 parent 1f08a05 commit d828378
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/register-preview-url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit d828378

Please sign in to comment.