diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml
index 0073d0ac..b51ba8b5 100644
--- a/.github/workflows/versions.yml
+++ b/.github/workflows/versions.yml
@@ -1,7 +1,15 @@
 name: versions
 
 on:
-  workflow_dispatch:
+  pull_request:
+    paths-ignore:
+      - '**.md'
+  push:
+    branches:
+      - main
+      - releases/*
+    paths-ignore:
+      - '**.md'
 
 jobs:
   local-cache: