Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 22, 2024
1 parent d4b5305 commit 94f78e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:

- name: Checks for GitHub workflows
run: |
python tools/scan_yaml_for_risky_text.py.py .github/workflows
python tools/scan_yaml_for_risky_text.py.py .github/workflows
2 changes: 1 addition & 1 deletion tools/scan_yaml_for_risky_text.py.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def find_risky_files(path: str):
return {str(file) for file in Path(path).rglob("*.yml") if f"{risky_text}" in file.read_text()}


if __name__ == '__main__':
if __name__ == "__main__":
risky_files = find_risky_files(sys.argv[1])
if risky_files:
sys.exit(f"{risky_text} found in files {risky_files}.")

0 comments on commit 94f78e4

Please sign in to comment.