Skip to content

Harden GitHub workflows #170

Harden GitHub workflows

Harden GitHub workflows #170

Workflow file for this run

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'
name: rector
permissions:
contents: read
jobs:
rector:

Check failure on line 18 in .github/workflows/rector.yml

View workflow run for this annotation

GitHub Actions / rector

Invalid workflow file

The workflow is not valid. .github/workflows/rector.yml (Line: 18, Col: 3): Error calling workflow 'yiisoft/actions/.github/workflows/rector.yml@master'. The nested job 'rector' is requesting 'contents: write', but is only allowed 'contents: read'.
uses: yiisoft/actions/.github/workflows/rector.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.0']