We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 810dd25 + 2367c7c commit b0f2ee7Copy full SHA for b0f2ee7
action.yaml
@@ -187,8 +187,18 @@ runs:
187
echo "required_measure=${required_measure//$'\n'/ }" >> $GITHUB_OUTPUT
188
echo "required_set=${required_set//$'\n'/ }" >> $GITHUB_OUTPUT
189
shell: bash
190
+ - name: Check Files
191
+ id: has_files_check
192
+ shell: bash
193
+ run: |
194
+ if [ "${{ steps.janitor_args.outputs.files }}" == "" ]; then
195
+ echo "has_files=false" >> $GITHUB_OUTPUT
196
+ else
197
+ echo "has_files=true" >> $GITHUB_OUTPUT
198
+ fi
199
- name: Run Looker Janitor
200
id: looker_janitor
201
+ if: ${{ steps.has_files_check.outputs.has_files == 'true' }}
202
run: |
203
python looker-janitor/main.py \
204
--files ${{ steps.janitor_args.outputs.files }} \
0 commit comments