Bump cross-spawn from 7.0.3 to 7.0.6 #1891
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow ensures Percy is executed against PRs with the Percy required label, regardless of which paths were changed | |
name: "Percy (labeled)" | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
# workflow runs after a label is added to the PR, or when a commit is added to a PR with the Percy label | |
- labeled | |
- synchronize | |
jobs: | |
copy_artifact: | |
name: Copy changed files to GHA artifact | |
if: "(github.event.action == 'synchronize' && contains(toJson(github.event.pull_request.labels.*.name), 'Review: Percy needed')) || (github.event.action == 'labeled' && github.event.label.name == 'Review: Percy needed')" | |
uses: ./.github/workflows/percy-prepare.yml | |
with: | |
pr_number: ${{ github.event.number }} | |
commitsh: ${{ github.event.pull_request.head.sha }} | |
# Completion should trigger `pr-percy-snapshots` workflow. |