Skip to content

Commit aba7af9

Browse files
hyperpolymathclaude
andcommitted
fix(ci): drop job-level hashFiles() guards that fail the run before any job
Quoting the store:: filter was necessary but not sufficient: the run from that fix still completed with zero jobs and GitHub still displayed the workflow by path rather than by its name, the tell that it never became a real workflow run. The cause is 'if: hashFiles(...)' at job level. hashFiles() resolves against the runner workspace, which does not exist when a job-level if is evaluated, so the expression errors while the run graph is being built — the run ends as failure with no jobs and no usable logs. Both guards were pointless as well as fatal: Cargo.toml and Cargo.lock are committed and always present in this repo. cargo-audit.yml carries the identical pattern and the identical symptom, so it is fixed here too. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 0407c7e commit aba7af9

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/cargo-audit.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
name: Dependency audit
2020
runs-on: ubuntu-latest
2121
timeout-minutes: 15
22-
if: hashFiles('Cargo.lock') != ''
2322
steps:
2423
- name: Checkout repository
2524
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

.github/workflows/db-checks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
name: Migrations + schema drift
3434
runs-on: ubuntu-latest
3535
timeout-minutes: 15
36-
if: hashFiles('Cargo.toml') != ''
3736

3837
steps:
3938
- name: Checkout

0 commit comments

Comments
 (0)