chore: sync ci-generic.yml from Template-Generic [skip ci]
This commit is contained in:
@@ -132,8 +132,9 @@ jobs:
|
||||
name: Tests
|
||||
runs-on: ubuntu-latest
|
||||
needs: lint
|
||||
# Skip on template repos (Template-*) — see lint job.
|
||||
if: ${{ !startsWith(github.event.repository.name, 'Template-') }}
|
||||
# Run only when lint succeeded; always() forces evaluation so a skipped
|
||||
# lint (e.g. template repos) skips this job cleanly instead of hanging.
|
||||
if: ${{ always() && needs.lint.result == 'success' }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
Reference in New Issue
Block a user