Merge pull request #65 from JLHasson/patch-1

Use 'main' instead of 'master' for examples
This commit is contained in:
2021-11-30 17:20:12 +01:00
committed by GitHub

View File

@@ -34,7 +34,7 @@ A GitHub action for styling files with [prettier](https://prettier.io).
### Example Config
#### Example 1 (run on push in master)
#### Example 1 (run on push in main)
```yaml
name: Continuous Integration
@@ -43,7 +43,7 @@ on:
pull_request:
push:
branches:
- master
- main
jobs:
prettier:
@@ -69,7 +69,7 @@ name: Continuous Integration
on:
pull_request:
branches: [master]
branches: [main]
jobs:
prettier:
@@ -98,7 +98,7 @@ name: Continuous Integration
on:
pull_request:
branches: [master]
branches: [main]
jobs:
prettier:
@@ -128,7 +128,7 @@ name: Continuous Integration
on:
pull_request:
branches: [master]
branches: [main]
jobs:
prettier: