Update user_project_ci.yml
github/workflows: fix branch conditional
diff --git a/.github/workflows/user_project_ci.yml b/.github/workflows/user_project_ci.yml
index deb8ed6..8093c7d 100644
--- a/.github/workflows/user_project_ci.yml
+++ b/.github/workflows/user_project_ci.yml
@@ -184,7 +184,7 @@
EOF
commit:
- if: github.ref == 'main'
+ if: github.ref_name == 'main'
needs:
- precheck
- gds
@@ -303,7 +303,7 @@
key: ${{ runner.os }}-webgl-${{ github.run_id }}
pages:
- if: github.ref == 'main'
+ if: github.ref_name == 'main'
needs:
- svg
- webgl