ci: add the CI passed aggregate the org rule can require #94
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: CodeQL | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: '17 3 * * 1' | |
| permissions: | |
| contents: read | |
| jobs: | |
| analyze: | |
| name: analyze (javascript-typescript) | |
| runs-on: ubuntu-latest | |
| # CodeQL code scanning requires GitHub Advanced Security, which is billed | |
| # per seat on private repositories but free on public ones. This workflow | |
| # stays dormant while the repository is private and activates automatically | |
| # the moment it flips public, without any edit here. | |
| if: ${{ !github.event.repository.private }} | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0 | |
| with: | |
| languages: javascript-typescript | |
| - name: Perform CodeQL analysis | |
| uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0 | |
| with: | |
| category: '/language:javascript-typescript' |