Skip to content

Commit

Permalink
Fix failing pr's because of missing permissions
Browse files Browse the repository at this point in the history
adds a guard to prevent pull requests from trying to delete the previous pre-release

No functional change.
  • Loading branch information
Disservin committed Jun 20, 2023
1 parent 6eaa1c3 commit 9ed3fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/stockfish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# delete old previous pre-release and tag
- uses: dev-drprasad/delete-tag-and-release@v0.2.1
if: env.COMMIT_SHA != 'null'
if: github.ref == 'refs/heads/master' && env.COMMIT_SHA != 'null'
with:
tag_name: ${{ env.COMMIT_SHA }}
env:
Expand Down

0 comments on commit 9ed3fc7

Please sign in to comment.