Skip to content

Commit

Permalink
removing failure if actionlint fails
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyLGalles committed Jan 8, 2025
1 parent 6d3aef0 commit 3803764
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/bitwarden_workflow_linter/rules/run_actionlint.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ def fn(self, obj: Workflow) -> Tuple[bool, str]:
capture_output=True,
text=True,
check=False)
if result.returncode != 0:
return False, self.message
if result.returncode == 1:
print(result.stdout)
if result.returncode > 1:
return False, result.stdout
return True, ""
else:
return False, self.message

0 comments on commit 3803764

Please sign in to comment.