Skip to content

Commit 3e6611c

Browse files
Merge pull request #276 from TheDragonCode/6.x
Added information about usage with GitHub Actions
2 parents 086b37e + 4151ffd commit 3e6611c

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,25 @@ After completing all the steps, the `package.json` file will have the following
209209
}
210210
```
211211

212+
### GitHub Actions
213+
214+
To use the Linter with GitHub Actions, just create a file `.github/workflows/code-style.yml` and insert this content
215+
into it:
216+
217+
```yaml
218+
name: Code Style
219+
220+
on:
221+
push:
222+
pull_request:
223+
224+
permissions: write-all
225+
226+
jobs:
227+
Styler:
228+
uses: TheDragonCode/.github/.github/workflows/code-style.yml@main
229+
```
230+
212231
### IDE
213232
214233
After executing the `composer update` console command, a `.editorconfig` file will be added to your application.

0 commit comments

Comments
 (0)