Wilbert Ribeiro - Fullstack-Developer #88
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: "Code scanning - action" | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: '0 7 * * 0' | |
| jobs: | |
| CodeQL-Build: | |
| runs-on: ubuntu-latest | |
| # The default GITHUB_TOKEN is read-only; uploading results needs security-events: write. | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # All interpreted, so nothing needs to be built before analysis. | |
| language: [actions, javascript-typescript, ruby] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: ${{ matrix.language }} | |
| build-mode: none | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: "/language:${{ matrix.language }}" |