]> git.sesse.net Git - stockfish/commitdiff
Fix failing CI of pull requests
authordisservin <disservin.social@gmail.com>
Tue, 20 Jun 2023 16:27:20 +0000 (18:27 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Tue, 20 Jun 2023 16:50:12 +0000 (18:50 +0200)
adds a guard to prevent pull requests from trying to delete the previous pre-release

closing https://github.com/official-stockfish/Stockfish/pull/4631

No functional change.

.github/workflows/stockfish.yml

index ca52ffe08b36317085d86ff4df50e240d59c54bd..99c4259ac756f0d816c65aaaee3252f644fa3bef 100644 (file)
@@ -13,6 +13,7 @@ on:
       - tools
 jobs:
   Prerelease:
+    if: github.ref == 'refs/heads/master'
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3