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

View File

@@ -13,6 +13,7 @@ on:
- tools
jobs:
Prerelease:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3