microsoft/hve-core
Publicmirrored fromhttps://github.com/microsoft/hve-coreAvailable
.github/workflows/pr-validation.yml
93lines · modecode
| 1 | name: PR Validation |
| 2 | |
| 3 | on: |
| 4 | pull_request: |
| 5 | types: [opened, synchronize, reopened] |
| 6 | branches: |
| 7 | - main |
| 8 | - develop |
| 9 | workflow_dispatch: |
| 10 | |
| 11 | # Minimal permissions for security |
| 12 | permissions: |
| 13 | contents: read |
| 14 | |
| 15 | jobs: |
| 16 | spell-check: |
| 17 | name: Spell Check |
| 18 | uses: ./.github/workflows/spell-check.yml |
| 19 | permissions: |
| 20 | contents: read |
| 21 | with: |
| 22 | soft-fail: false |
| 23 | |
| 24 | markdown-lint: |
| 25 | name: Markdown Lint |
| 26 | uses: ./.github/workflows/markdown-lint.yml |
| 27 | permissions: |
| 28 | contents: read |
| 29 | with: |
| 30 | soft-fail: false |
| 31 | |
| 32 | table-format: |
| 33 | name: Table Format Check |
| 34 | uses: ./.github/workflows/table-format.yml |
| 35 | permissions: |
| 36 | contents: read |
| 37 | with: |
| 38 | soft-fail: false |
| 39 | |
| 40 | psscriptanalyzer: |
| 41 | name: PowerShell Lint |
| 42 | uses: ./.github/workflows/ps-script-analyzer.yml |
| 43 | permissions: |
| 44 | contents: read |
| 45 | with: |
| 46 | soft-fail: false |
| 47 | changed-files-only: true |
| 48 | |
| 49 | frontmatter-validation: |
| 50 | name: Frontmatter Validation |
| 51 | uses: ./.github/workflows/frontmatter-validation.yml |
| 52 | permissions: |
| 53 | contents: read |
| 54 | with: |
| 55 | soft-fail: false |
| 56 | changed-files-only: true |
| 57 | skip-footer-validation: false |
| 58 | warnings-as-errors: true |
| 59 | |
| 60 | link-lang-check: |
| 61 | name: Link Language Check |
| 62 | uses: ./.github/workflows/link-lang-check.yml |
| 63 | permissions: |
| 64 | contents: read |
| 65 | with: |
| 66 | soft-fail: false |
| 67 | |
| 68 | markdown-link-check: |
| 69 | name: Markdown Link Check |
| 70 | uses: ./.github/workflows/markdown-link-check.yml |
| 71 | permissions: |
| 72 | contents: read |
| 73 | with: |
| 74 | soft-fail: true |
| 75 | |
| 76 | dependency-pinning-check: |
| 77 | name: Validate Dependency Pinning |
| 78 | uses: ./.github/workflows/dependency-pinning-scan.yml |
| 79 | permissions: |
| 80 | contents: read |
| 81 | security-events: write |
| 82 | with: |
| 83 | soft-fail: false |
| 84 | upload-sarif: true |
| 85 | upload-artifact: false |
| 86 | |
| 87 | codeql: |
| 88 | name: CodeQL Security Analysis |
| 89 | uses: ./.github/workflows/codeql-analysis.yml |
| 90 | permissions: |
| 91 | contents: read |
| 92 | security-events: write |
| 93 | actions: read |
| 94 | |