diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml
index 1d438213980a1f630930b27dd0449099746e33e0..fe8aa860045318287abf63215e4ea36108597e9e 100644
--- a/.github/workflows/version.yml
+++ b/.github/workflows/version.yml
@@ -2,7 +2,7 @@ name: Write Version to File
 on:
   push:
     branches:
-      - master
+      - main
 
 jobs:
   write-version: