From 970d3dcf667afe730e75148d5273950ade83d096 Mon Sep 17 00:00:00 2001
From: Fluffy-Bean <michal-gdula@protonmail.com>
Date: Sat, 4 Mar 2023 21:46:19 +0000
Subject: [PATCH] Switch workflow to run on pull request to main Update README

---
 .github/workflows/pylint.yml | 4 +++-
 README.md                    | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml
index c2ebb9d..1744bbf 100644
--- a/.github/workflows/pylint.yml
+++ b/.github/workflows/pylint.yml
@@ -1,6 +1,8 @@
 name: Pylint
 
-on: [push]
+on:
+  pull_request:
+    branches: [ main ]
 
 jobs:
   build:
diff --git a/README.md b/README.md
index d3afea7..fbd8d4f 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,9 @@
     <a href="https://github.com/Fluffy-Bean/onlylegs/blob/main/LICENSE">
         <img src="https://img.shields.io/github/license/Fluffy-Bean/onlylegs?style=for-the-badge">
     </a>
+    <a href="https://wakatime.com/badge/user/29bd1733-45f0-41c0-901e-d6daf49094d4/project/6aae41df-003f-4b17-ae8f-62cecfb3fc24">
+        <img src="https://wakatime.com/badge/user/29bd1733-45f0-41c0-901e-d6daf49094d4/project/6aae41df-003f-4b17-ae8f-62cecfb3fc24.svg?style=for-the-badge" alt="wakatime">
+        </a>
 </div>
 
 ## Features