Skip to content

Commit

Permalink
Update pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansurf authored May 22, 2024
1 parent 392cf87 commit 627e187
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Pylint

on: [push]
on:
push:
branches:
- main # Adjust this branch name as needed
pull_request_target:
types: [opened, synchronize, reopened]

jobs:
build:
Expand All @@ -20,4 +25,4 @@ jobs:
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
pylint $(git ls-files '*.py') || exit 1

0 comments on commit 627e187

Please sign in to comment.