feat(ci): add all-required sentinel job
Adds a single CI / all-required status check that depends on the test job. This enables branch protection to be configured with a single required-status-check entry rather than enumerating each matrix variant. Addresses: molecule-ai/molecule-sdk-python#11 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
6a306f310d
commit
142b074a59
@ -27,3 +27,17 @@ jobs:
|
||||
|
||||
- name: Lint
|
||||
run: pip install ruff && ruff check molecule_agent/ molecule_plugin/
|
||||
|
||||
all-required:
|
||||
name: all-required
|
||||
needs: [test]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check test result
|
||||
run: |
|
||||
result="${{ needs.test.result }}"
|
||||
if [ "$result" != "success" ]; then
|
||||
echo "Required job test failed (result: $result)"
|
||||
exit 1
|
||||
fi
|
||||
echo "All required jobs passed"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user