ci: run pylint on pull requests 2/head
authorCory Todd <cory.todd@canonical.com>
Fri, 16 Jun 2023 17:17:00 +0000 (10:17 -0700)
committerCory Todd <cory.todd@canonical.com>
Fri, 16 Jun 2023 17:17:00 +0000 (10:17 -0700)
Add pull_request as a trigger so linting issues are caught before
landing on main.

Signed-off-by: Cory Todd <cory.todd@canonical.com>
.github/workflows/pylint.yml

index faa4a73e9ce1a28ec0909546f8509c7d4e2460fe..a52d5027929abbcc90c14766d71ed2cfdf118eb7 100644 (file)
@@ -1,6 +1,8 @@
 name: Pylint
 
-on: [push]
+on: 
+  push:
+  pull_request:
 
 jobs:
   build: