handle conditions better
Some checks failed
renovate / renovate (push) Has been cancelled

This commit is contained in:
2025-12-07 16:45:26 -06:00
parent 6b0f4f1f11
commit d5f521919e
2 changed files with 16 additions and 4 deletions

View File

@@ -39,7 +39,13 @@ jobs:
id: branch-exists
if: github.event_name == 'push' || steps.check-branch-exists.outputs.exists == 'true' && github.event_name == 'pull_request'
run: |
echo ">> Branch ${{ gitea.base_ref }} exists, will continue with linting"
if [ ${{ github.event_name == 'push' }} ]; then
echo ">> Action is from a push event, will continue with linting"
else
echo ">> Branch ${{ gitea.base_ref }} exists, will continue with linting"
fi
echo "----"