Updated GitHub Action
This commit is contained in:
7
.github/workflows/cc.yml
vendored
7
.github/workflows/cc.yml
vendored
@@ -8,13 +8,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Cloning the repository
|
- name: Cloning the repository
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
ref: ${{ github.head_ref }}
|
||||||
- name: Prettify the JS Code
|
- name: Prettify the JS Code
|
||||||
uses: creyD/prettier_action@master
|
uses: creyD/prettier_action@master
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.head_ref }}
|
prettier_options: "--write **/*.js"
|
||||||
prettier_options: '--write **/*.js'
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user