]> git.sesse.net Git - stockfish/blobdiff - .github/workflows/stockfish.yml
Cleanup git checkout actions
[stockfish] / .github / workflows / stockfish.yml
index ca52ffe08b36317085d86ff4df50e240d59c54bd..8ea1837d032eb1ff563933f87dbef4e9d9c773ac 100644 (file)
@@ -13,12 +13,9 @@ on:
       - tools
 jobs:
   Prerelease:
+    if: github.ref == 'refs/heads/master'
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
-        with:
-          fetch-depth: 0
-
       # returns null if no pre-release exists
       - name: Get Commit SHA of Latest Pre-release
         run: |