Skip to content

Commit

Permalink
issue catalyst#116: fix fetch-depth ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
djarran authored and keevan committed Jun 28, 2024
1 parent fb19dc8 commit 087b541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
with:
# Needed for 'changed-files' actions (alternatively could be a fixed
# large number but may cause issues if limited).
fetch-depth: ${{ ((contains(github.event_name, 'push') && steps.check-branch.outputs.publishable == 'true')) && 0 || 2 }}
fetch-depth: ${{ !((contains(github.event_name, 'push') && steps.check-branch.outputs.publishable == 'true')) && 2 || 0 }}
path: plugin
submodules: true
- name: Check if release is required (version.php changes)
Expand Down

0 comments on commit 087b541

Please sign in to comment.