Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Only run lint workflow on push events, disable auto-fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmeuli committed Feb 27, 2020
1 parent 7848ae4 commit ffcd0b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Lint

on:
- push
- pull_request
on: push

jobs:
run-linters:
Expand All @@ -25,7 +23,6 @@ jobs:
uses: samuelmeuli/lint-action@v1
with:
github_token: ${{ secrets.github_token }}
auto_fix: ${{ github.event_name == 'pull_request' }}
eslint: true
eslint_args: --ignore-path ./.gitignore
prettier: true
Expand Down

0 comments on commit ffcd0b4

Please sign in to comment.