Skip to content

Commit

Permalink
chore: only runs lint on PRs or push to main.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcchavezs committed Jun 25, 2023
1 parent 5400db1 commit 22b67dc
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
name: Lint (pre-commit)

on:
pull_request:
push:
branches:
- main
paths-ignore:
- "**/*.md"
- "LICENSE"
pull_request:
branches:
- main
paths-ignore:
- "**/*.md"
- "LICENSE"

jobs:
lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 22b67dc

Please sign in to comment.