name: ๐Ÿ›ก๏ธ CodeQL Analysis on: push: branches: [master, develop] pull_request: branches: [master, develop] schedule: - cron: '24 2 * * *' jobs: analyze: name: ๐Ÿ”Ž Analyze with CodeQL runs-on: ubuntu-24.04 permissions: contents: read security-events: write strategy: fail-fast: false matrix: language: [ 'javascript-typescript', 'actions' ] steps: - name: ๐Ÿ“ฅ Checkout repository uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: ref: ${{ github.event.pull_request.head.sha || github.sha }} show-progress: false fetch-depth: 0 - name: ๐Ÿ Initialize CodeQL uses: github/codeql-action/init@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10 with: languages: ${{ matrix.language }} queries: +security-extended,security-and-quality - name: ๐Ÿ› ๏ธ Autobuild uses: github/codeql-action/autobuild@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10 - name: ๐Ÿงช Perform CodeQL Analysis uses: github/codeql-action/analyze@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10