Commit 3b94bbd884

3b94bbd8846a9f66f30b390b7e095cf4d3f7add4

parent: 0f9bfc992a

Unsigned

Alicia Sykes <alicia@omg.lol> · 2026-03-16 18:09 UTC

Adds fetch-depth of 0 to read commit meta

Layout: unified · split

.github/workflows/pr-check.yml +2
@@ -19,6 +19,8 @@ jobs:
19 runs-on: ubuntu-latest 19 runs-on: ubuntu-latest
20 steps: 20 steps:
21 - uses: actions/checkout@v5 21 - uses: actions/checkout@v5
22 with:
23 fetch-depth: 0
22 - run: git fetch --depth=1 origin ${{ github.event.pull_request.base.sha }} 24 - run: git fetch --depth=1 origin ${{ github.event.pull_request.base.sha }}
23 - uses: actions/setup-python@v6 25 - uses: actions/setup-python@v6
24 with: 26 with:
lib/checks/format-comment.py −3
@@ -99,9 +99,6 @@ def format_comment(findings, user, changes_summary, run_id, repo_stats=None):
99 bullet_list = "\n".join(f"- {f}" for f in findings) 99 bullet_list = "\n".join(f"- {f}" for f in findings)
100 parts.append( 100 parts.append(
101 f"Our automated checks detected some issues:\n\n{bullet_list}\n\n" 101 f"Our automated checks detected some issues:\n\n{bullet_list}\n\n"
102 f"> [!NOTE]\n"
103 f"> I am a bot, and sometimes make mistakes in my suggestions. "
104 f"But a human will review your submission shortly!"
105 ) 102 )
106 else: 103 else:
107 parts.append("> \u2705 All our automated checks have passed.") 104 parts.append("> \u2705 All our automated checks have passed.")