Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
feat: Test set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
EnriqueSoria committed Nov 28, 2022
1 parent 01ba788 commit fc46103
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions annotate_pr_with_ruff/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def main():
if ruff_error.line_number in changed_files.get(f"/{ruff_error.file}", {})
]

print(f"::set-output name=num_errors::{len(ruff_errors)}")

# Submit review
for ruff_error in ruff_errors:
print(
Expand Down

0 comments on commit fc46103

Please sign in to comment.