Skip to content

Commit

Permalink
Merge pull request #7570 from jrjohnson/rerun-percy
Browse files Browse the repository at this point in the history
Re-run the percy job anytime the PR is changed
  • Loading branch information
dartajax authored Jan 22, 2024
2 parents 3ff11b6 + 19ea4a7 commit 8cd6012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/percy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
tags:
- '*'
pull_request_target:
types: [labeled]
types: [labeled,opened,reopened,synchronize]
schedule:
- cron: "15 23 * * 2,4" # T,Th in the afternoon (UTC)
workflow_dispatch:
Expand All @@ -23,7 +23,7 @@ env:
jobs:
percy:
name: Test and Capture Screenshots
if: ${{ github.event.action != 'labeled' || github.event.label.name == 'run percy tests' }}
if: contains(github.event.pull_request.labels.*.name, 'run percy tests')
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
Expand Down

0 comments on commit 8cd6012

Please sign in to comment.