Fix failing CI of pull requests

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.
This commit is contained in:
disservin
2023-06-20 18:27:20 +02:00
committed by Joost VandeVondele
parent 6eaa1c3ecd
commit aec8fb3fde
+1
View File
@@ -13,6 +13,7 @@ on:
- tools - tools
jobs: jobs:
Prerelease: Prerelease:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3