Skip to content

fix: spacing issue on small screens #3966

fix: spacing issue on small screens

fix: spacing issue on small screens #3966

Workflow file for this run

name: Percy testing on PRs from forks

Check failure on line 1 in .github/workflows/percy-fork-pr.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/percy-fork-pr.yaml

Invalid workflow file

(Line: 21, Col: 3): The workflow must contain at least one job with no dependencies.
run-name: "Testing Percy on fork PR #${{ github.event.pull_request.number }}"
# This workflow handles Percy testing for PRs from forks securely
# It uses pull_request_target to access secrets while checking out the PR code
on:
pull_request_target:
branches:
- main
types:
- opened
- synchronize
- reopened
- ready_for_review
permissions:
contents: read
pull-requests: read
jobs:
snapshot:
name: Take Percy snapshots
runs-on: ubuntu-latest
needs: security-check
# Ensure we only run for forks (internal PRs use a different workflow)
if: github.event.pull_request.head.repo.full_name != github.repository
# The environment "percy-testing" handles the approval gate
environment: percy-testing
steps:
- name: Checkout Trusted Action
uses: actions/checkout@v4
with:
path: trusted-logic
persist-credentials: false
- name: Checkout PR code
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.sha }}
path: untrusted-pr-code
persist-credentials: false
- uses: ./trusted-logic/.github/actions/percy-snapshot
with:
project_root: ./untrusted-pr-code
pr_number: ${{ github.event.pull_request.number }}
branch_name: ${{ github.event.pull_request.head.ref }}
commitsh: ${{ github.event.pull_request.head.sha }}
percy_token_write: ${{ secrets.PERCY_TOKEN_WRITE }}