Skip to content

Commit

Permalink
Bump playwright image to 1.46.0, use pull_request event
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Edgar <[email protected]>
  • Loading branch information
MikeEdgar committed Aug 6, 2024
1 parent 19eba10 commit a86509b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/playwright-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ name: Playwright Tests
on:
push:
branches: [ 'main' ]
pull_request_target:
pull_request:
branches: [ 'main' ]
types: [ opened, reopened, synchronize, labeled ]

jobs:
test:
if: ${{ contains(github.event.pull_request.labels.*.name, 'safe to test') || github.actor == 'dependabot[bot]' }}
name: Run Playwright Tests
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.45.0-jammy
image: mcr.microsoft.com/playwright:v1.46.0-jammy

if: contains(github.event.pull_request.labels.*.name, 'safe to test') || ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit a86509b

Please sign in to comment.