Skip to content

Commit

Permalink
fix spark dataproc scenarios
Browse files Browse the repository at this point in the history
Signed-off-by: tnazarew <[email protected]>
  • Loading branch information
tnazarew committed Oct 24, 2024
1 parent fae1009 commit a6de6be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/notify_maintainers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,23 @@ jobs:
path: reports/
merge-multiple: true

- name: check if report is empty
id: check-report-empty
run: |
result=$(jq '. == []' reports/retention-failures-report.json)
echo "report-empty=${result}" >> $GITHUB_OUTPUT
- name: Run task for Collect Reports
id: collect-and-merge-reports
if: ${{ steps.check-report-empty.outputs.report-empty == 'false'}}
run: |
python scripts/generate_issue.py \
--failure_path=reports/retention-failures-report.json \
--issue_path=generated-files/issue.md
- name: Create Issue From File
uses: peter-evans/create-issue-from-file@v5
if: ${{ steps.check-report-empty.outputs.report-empty == 'false'}}
with:
title: An example issue
content-filepath: generated-files/issue.md
Expand Down

0 comments on commit a6de6be

Please sign in to comment.