Explorar el Código

chore: Fix publish_minor workflow

It was always getting skipped because workflows on
a schedule always execute on master
Michael Bromley hace 1 mes
padre
commit
7cc861827e
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      .github/workflows/publish_minor_to_npm.yml

+ 1 - 3
.github/workflows/publish_minor_to_npm.yml

@@ -13,13 +13,11 @@ jobs:
       contents: read
       id-token: write
 
-    # Only allow workflow to run on minor branch
-    if: github.ref == 'refs/heads/minor'
-
     steps:
       - name: Checkout
         uses: actions/checkout@v4
         with:
+          ref: minor
           fetch-depth: 0
 
       # Check if branch received commits in the last 24 h; skip remainder if none