Skip to content

chore Update CI permissions. #90

chore Update CI permissions.

chore Update CI permissions. #90

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
permissions: {}
jobs:
ci:

Check failure on line 11 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 11, Col: 3): Error calling workflow 'silverstripe/gha-ci/.github/workflows/ci.yml@v1'. The nested job 'genmatrix' is requesting 'contents: read', but is only allowed 'contents: none'. .github/workflows/ci.yml (Line: 11, Col: 3): Error calling workflow 'silverstripe/gha-ci/.github/workflows/ci.yml@v1'. The nested job 'tests' is requesting 'contents: read', but is only allowed 'contents: none'.
name: CI
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
permissions:
pull-requests: read
with:
extra_jobs: |
- php: 8.1
phpunit: false
endtoend: true
endtoend_suite: admin
endtoend_config: vendor/silverstripe/admin/behat.yml
- php: 8.2
phpunit: false
endtoend: true
endtoend_suite: cms
endtoend_config: vendor/silverstripe/cms/behat.yml