Skip to content

Reuse org workflows

Reuse org workflows #2

Workflow file for this run

name: CI
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
cs:
uses: playwright-php/.github/.github/workflows/CS.yml@main
# with:
# php-version: '8.4'
# composer-validate: true
# php-cs-fixer-args: '--diff --dry-run'
sa:
uses: playwright-php/.github/.github/workflows/SA.yml@main

Check failure on line 27 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/CI.yml

Invalid workflow file

error parsing called workflow ".github/workflows/CI.yml" -> "playwright-php/.github/.github/workflows/SA.yml@main" (source branch with sha:9f60e361b53b065f930f65b983a738f8d7708628) : secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
# with:
# php-version: '8.4'
# phpstan-args: 'analyse --no-progress --memory-limit=-1'