mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-15 21:00:35 +02:00
Merge pull request #65 from JLHasson/patch-1
Use 'main' instead of 'master' for examples
This commit is contained in:
10
README.md
10
README.md
@@ -34,7 +34,7 @@ A GitHub action for styling files with [prettier](https://prettier.io).
|
|||||||
|
|
||||||
### Example Config
|
### Example Config
|
||||||
|
|
||||||
#### Example 1 (run on push in master)
|
#### Example 1 (run on push in main)
|
||||||
```yaml
|
```yaml
|
||||||
name: Continuous Integration
|
name: Continuous Integration
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prettier:
|
prettier:
|
||||||
@@ -69,7 +69,7 @@ name: Continuous Integration
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prettier:
|
prettier:
|
||||||
@@ -98,7 +98,7 @@ name: Continuous Integration
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prettier:
|
prettier:
|
||||||
@@ -128,7 +128,7 @@ name: Continuous Integration
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prettier:
|
prettier:
|
||||||
|
|||||||
Reference in New Issue
Block a user