Skip to content

small fixes

small fixes #2

name: Community PRs Approved to Run Workflows

Check failure on line 1 in .github/workflows/community-prs-ok-to-test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/community-prs-ok-to-test.yaml

Invalid workflow file

(Line: 18, Col: 5): Unexpected value 'uses', (Line: 19, Col: 5): Unexpected value 'with', (Line: 24, Col: 5): Unexpected value 'secrets', (Line: 12, Col: 5): Required property is missing: runs-on
on:
pull_request_target:
types: [opened, synchronize, reopened, labeled]
permissions:
contents: read
jobs:
run-with-approval:
if: >
github.event.pull_request.head.repo.fork == true &&
contains(github.event.pull_request.labels.*.name, 'run-workflows')
environment: external-prs # approval gate; no env secrets needed
uses: ./.github/workflows/pr-playwright-tests.yml
with:
pr_repo: ${{ github.event.pull_request.head.repo.full_name }}
pr_sha: ${{ github.event.pull_request.head.sha }}
# If your policy forbids forks on self-hosted runners, uncomment:
# runner: '["ubuntu-latest"]'
secrets: inherit