We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef229b2 commit 1c44e85Copy full SHA for 1c44e85
1 file changed
action.yml
@@ -89,6 +89,9 @@ runs:
89
90
- name: Set executable bit on cached binary
91
if: steps.cache_gitleaks.outputs.cache-hit == 'true'
92
+ id: set-executable-bit
93
+ # with wsl even if cache is restored we might not have the executable restored
94
+ continue-on-error: true
95
run: |
96
set -euo pipefail
97
prefix=~/.local/bin
@@ -97,7 +100,7 @@ runs:
100
shell: bash
98
101
99
102
- name: Ensure gitleaks
- if: steps.cache_gitleaks.outputs.cache-hit != 'true'
103
+ if: steps.cache_gitleaks.outputs.cache-hit != 'true' || steps.set-executable-bit.outcome != 'success'
104
# && runner.os == 'Linux'
105
id: gitleaks
106
0 commit comments