Skip to content

Commit

Permalink
feat: write report to job summary (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkstrp authored Sep 5, 2024
1 parent 5606f1a commit 09da1aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,15 +342,17 @@ runs:
shell: bash

- name: Draft comment
- name: Create Validator Report
if: ${{ inputs.step == 'create-comment' }}
run: |
cd $GITHUB_WORKSPACE/validator-repo
# Draft comment
# Create comment
# Note: The script uses many env variables. See the script for more details.
python scripts/draft_comment.py > $GITHUB_WORKSPACE/comment.txt
cat $GITHUB_WORKSPACE/comment.txt >> $GITHUB_STEP_SUMMARY
shell: bash

- name: Retrieve or create comment
Expand Down

0 comments on commit 09da1aa

Please sign in to comment.