-
-
Notifications
You must be signed in to change notification settings - Fork 573
35 lines (26 loc) · 685 Bytes
/
autofix.yml
File metadata and controls
35 lines (26 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: autofix.ci # needed to securely identify the workflow by the action
on:
pull_request:
push:
branches:
- master
jobs:
autofix:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: shivammathur/setup-php@v2
with:
coverage: none
extensions: mbstring
php-version: "8.3"
- uses: ramsey/composer-install@v3
- run: composer normalize
- run: make php-cs-fixer
- run: composer docs
- run: npx prettier --write --tab-width=2 '*.md' '**/*.md'
- uses: autofix-ci/action@v1
with:
commit-message: Autofix