[pull] main from KelvinTegelaar:main #1894
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
| # OPTIONAL UPGRADE to the existing CodeQL_Analyser.yml (already deployed in CIPP). | |
| # Changes vs. current: adds push trigger on main/dev, security-extended query suite, | |
| # and javascript-typescript language alias. | |
| name: "CodeQL" | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| branches: [master, main, dev, react] | |
| schedule: | |
| - cron: "26 17 * * 0" | |
| jobs: | |
| analyze: | |
| if: github.repository_owner == 'KelvinTegelaar' | |
| name: Analyze | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: ["javascript-typescript"] | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: ${{ matrix.language }} | |
| queries: security-extended | |
| - name: Autobuild | |
| uses: github/codeql-action/autobuild@v4 | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 |