Skip to content

Fail the coverage check when a repository lacks the audit - #51

Merged
0thernet merged 1 commit into
mainfrom
devin/dependency-audit-pipefail-20261004
Oct 4, 2026
Merged

0thernet merged 1 commit into
mainfrom
devin/dependency-audit-pipefail-20261004

Conversation

@0thernet

@0thernet 0thernet commented Oct 4, 2026

Copy link
Copy Markdown
Member

Summary

  • The coverage step pipes the report through tee. GitHub's default run shell is bash -e without pipefail, so run 37241721436 passed even though the script reported hraness/qmd missing and exited 1. An explicit shell: bash runs with -eo pipefail, so the weekly check fails when a repository lacks the audit.
  • agent-block-drift.yml uses the same | tee pattern and has the same gap. This change leaves it alone.

Test plan

  • Required CI (actionlint)
  • Manual coverage run after merge fails while qmd is missing

Generated with Devin

The step pipes the report through tee. GitHub's default run shell is
bash -e without pipefail, so the job passed even when the script
reported qmd missing and exited 1. An explicit shell: bash runs with
-eo pipefail.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@0thernet
0thernet enabled auto-merge (squash) October 4, 2026 22:55
@0thernet
0thernet merged commit e57467f into main Oct 4, 2026
7 checks passed
@0thernet
0thernet deleted the devin/dependency-audit-pipefail-20261004 branch October 4, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant