Skip to content

Commit

Permalink
Testing example from checkout action docs
Browse files Browse the repository at this point in the history
  • Loading branch information
javila35 authored Jun 9, 2021
1 parent 4907f23 commit 25d2a59
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/run-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- name: Run prettier
uses: creyD/[email protected]
with:
prettier_options: --write **/*.{js,jsx,css}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 25d2a59

Please sign in to comment.