Skip to content

Skip external help integration from forks #2658

Skip external help integration from forks

Skip external help integration from forks #2658

name: ⚙️ Extra Rule Validation
on:
merge_group:
types: [checks_requested]
push:
branches:
- main
- "rc/**"
- next
pull_request:
branches:
- main
- "rc/**"
- next
jobs:
validate-rules-csv:
name: Validate Rules CSV
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check Rules
shell: pwsh
run: scripts/util/Get-DuplicateRules.ps1 -Language 'all' -CIMode
validate-shared-rules-test-structure:
name: Validate Rules Test Structure
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Ensure CPP Shared Rules Have Valid Structure
shell: pwsh
run: scripts/util/Test-SharedImplementationsHaveTestCases.ps1 -Language cpp -CIMode
- name: Ensure C Shared Rules Have Valid Structure
shell: pwsh
run: scripts/util/Test-SharedImplementationsHaveTestCases.ps1 -Language c -CIMode
- uses: actions/upload-artifact@v4
if: failure()
with:
name: missing-test-report.csv
path: MissingTestReport*.csv
- uses: actions/upload-artifact@v4
if: failure()
with:
name: test-report.csv
path: TestReport*.csv
if-no-files-found: error