Skip to content

Commit

Permalink
ci: web: rules: deep checkout so we can get rule history
Browse files Browse the repository at this point in the history
  • Loading branch information
williballenthin committed Aug 22, 2024
1 parent 07af410 commit 4f2273c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/web-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ jobs:
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
Expand Down
3 changes: 2 additions & 1 deletion web/rules/scripts/build_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ def convert_yaml_to_html(timestamps, yaml_file: Path, output_dir: Path):
if not line:
continue
if line.startswith("==="):
continue
continue

path, _, timestamp = line.partition(" ")
timestamps[path] = timestamp

Expand Down

0 comments on commit 4f2273c

Please sign in to comment.