JS: Recognise that a less-than test is as good as a non-equal test for mitigating off-by-one array access #9787
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Validate change notes | |
| on: | |
| push: | |
| paths: | |
| - "*/ql/*/change-notes/**/*" | |
| - ".github/workflows/validate-change-notes.yml" | |
| - ".github/actions/fetch-codeql/action.yml" | |
| branches: | |
| - main | |
| - "rc/*" | |
| pull_request: | |
| paths: | |
| - "*/ql/*/change-notes/**/*" | |
| - ".github/workflows/validate-change-notes.yml" | |
| - ".github/actions/fetch-codeql/action.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-change-note: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup CodeQL | |
| uses: ./.github/actions/fetch-codeql | |
| - name: Fail if there are any errors with existing change notes | |
| run: | | |
| codeql pack release --groups actions,cpp,csharp,go,java,javascript,python,ruby,shared,swift -examples,-test,-experimental |