Fix #68: Add the CsrfHeaderMiddleware
middleware to use custom HTTP header to prevent forgery of requests, add the CsrfMiddleware::withSafeMethods()
method to configure a custom safe HTTP methods list
#53
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request_target: | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
- 'CHANGELOG.md' | |
- '.gitignore' | |
- '.gitattributes' | |
- 'infection.json.dist' | |
- 'psalm.xml' | |
name: rector | |
jobs: | |
rector: | |
uses: yiisoft/actions/.github/workflows/rector.yml@master | |
secrets: | |
token: ${{ secrets.YIISOFT_GITHUB_TOKEN }} | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
os: >- | |
['ubuntu-latest'] | |
php: >- | |
['8.3'] |