| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | name: "CodeQL" |
| |
|
| | on: |
| | pull_request: |
| | |
| | branches: [ main ] |
| | paths-ignore: |
| | - '*/spec/fixtures/**' |
| | - '*/helpers/test/*/fixtures/**' |
| | - 'common/lib/dependabot.rb' |
| | schedule: |
| | - cron: '41 4 * * 3' |
| |
|
| | concurrency: |
| | group: ${{ github.workflow }}-${{ github.ref }} |
| | cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} |
| |
|
| | jobs: |
| | analyze: |
| | name: Analyze |
| | runs-on: ubuntu-latest |
| | if: ${{ github.event_name != 'schedule' || github.repository == 'dependabot/dependabot-core' }} |
| | permissions: |
| | actions: read |
| | contents: read |
| | security-events: write |
| |
|
| | strategy: |
| | fail-fast: false |
| | matrix: |
| | language: [ 'go', 'javascript', 'python', 'ruby' ] |
| | |
| | |
| |
|
| | steps: |
| | - name: Checkout repository |
| | uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 |
| | with: |
| | submodules: recursive |
| | persist-credentials: false |
| |
|
| | |
| | - name: Initialize CodeQL (ruby) |
| | uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee |
| | with: |
| | languages: ${{ matrix.language }} |
| | config: | |
| | paths-ignore: |
| | - 'bundler/spec/fixtures/projects/bundler2/invalid_ruby/Gemfile' |
| | if: matrix.language == 'ruby' |
| |
|
| | - name: Initialize CodeQL (others) |
| | uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee |
| | with: |
| | languages: ${{ matrix.language }} |
| | if: matrix.language != 'ruby' |
| |
|
| | |
| | |
| | - name: Autobuild |
| | uses: github/codeql-action/autobuild@0499de31b99561a6d14a36a5f662c2a54f91beee |
| |
|
| | |
| | |
| |
|
| | |
| | |
| | |
| |
|
| | |
| | |
| | |
| |
|
| | - name: Perform CodeQL Analysis |
| | uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee |
| |
|