File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282 with :
8383 args : --config .github/lychee.toml --offline --include-fragments --no-progress "./**/*.md"
8484 fail : true
85+
86+ # Single gate that aggregates the per-skill matrix and the repo-wide manifest
87+ # checks. Branch protection can require just this one check: it only passes
88+ # when every skill validated and the manifest job succeeded. Because matrix
89+ # jobs always succeed individually under `fail-fast: false`, we inspect the
90+ # job results explicitly rather than relying on `needs` short-circuiting.
91+ validate :
92+ name : Validate skills and plugin manifests
93+ needs : [validate-skill, validate-manifests]
94+ if : always()
95+ runs-on : ubuntu-latest
96+ steps :
97+ - name : Verify all validation jobs passed
98+ run : |
99+ echo "validate-skill result: ${{ needs.validate-skill.result }}"
100+ echo "validate-manifests result: ${{ needs.validate-manifests.result }}"
101+ if [ "${{ needs.validate-skill.result }}" != "success" ] || \
102+ [ "${{ needs.validate-manifests.result }}" != "success" ]; then
103+ echo "One or more validation jobs failed." >&2
104+ exit 1
105+ fi
106+ echo "All skill and manifest validations passed."
You can’t perform that action at this time.
0 commit comments