use 'main' instead of 'master' for examples

This commit is contained in:
Lance Hasson
2021-09-21 09:17:32 -07:00
committed by GitHub
parent 0b655e298c
commit 762be84685

View File

@@ -32,7 +32,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
@@ -41,7 +41,7 @@ on:
pull_request:
push:
branches:
- master
- main
jobs:
prettier:
@@ -67,7 +67,7 @@ name: Continuous Integration
on:
pull_request:
branches: [master]
branches: [main]
jobs:
prettier:
@@ -96,7 +96,7 @@ name: Continuous Integration
on:
pull_request:
branches: [master]
branches: [main]
jobs:
prettier:
@@ -126,7 +126,7 @@ name: Continuous Integration
on:
pull_request:
branches: [master]
branches: [main]
jobs:
prettier: