Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3644 from jrjohnson/re-run-percy-tests
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 5, 2024
2 parents 72f9b6b + 0908694 commit 15fd88e
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 15fd88e

Please sign in to comment.