Company-wide quality tooling, centralized for reusability across all projects.
Automatically create Linear issues for failed Ginkgo/Gomega tests from nightly CI runs.
Location: .github/actions/linear-test-failures/
Usage:
- uses: nscale/quality-tooling/.github/actions/linear-test-failures@main
with:
test-results-path: path/to/test-results.json
workflow-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
linear-api-key: ${{ secrets.LINEAR_API_KEY }}
linear-team-id: ${{ vars.LINEAR_TEAM_ID }}
environment: devFeatures:
- Creates one issue per test failure
- Duplicate detection with comment updates
- Spam prevention (max 5 failures)
- Clear naming:
[Nightly-{env}] {TestSuite} - {TestName}
- Create directory:
.github/actions/{action-name}/ - Add
action.ymlwith action definition - Add
README.mdwith usage documentation - Update this root README with action description
- Commit and push to main branch