...

Text file src/go.opentelemetry.io/otel/.github/workflows/codeql-analysis.yml

Documentation: go.opentelemetry.io/otel/.github/workflows

     1name: "CodeQL Analysis"
     2
     3on:
     4  workflow_dispatch:
     5  schedule:
     6    #        ┌───────────── minute (0 - 59)
     7    #        │  ┌───────────── hour (0 - 23)
     8    #        │  │ ┌───────────── day of the month (1 - 31)
     9    #        │  │ │ ┌───────────── month (1 - 12 or JAN-DEC)
    10    #        │  │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
    11    #        │  │ │ │ │
    12    #        │  │ │ │ │
    13    #        │  │ │ │ │
    14    #        *  * * * *
    15    - cron: '30 1 * * *'
    16  push:
    17    branches: [ main ]
    18  pull_request:
    19
    20jobs:
    21  CodeQL-Build:
    22    runs-on: ubuntu-latest
    23
    24    steps:
    25      - name: Checkout repository
    26        uses: actions/checkout@v4
    27
    28      # Initializes the CodeQL tools for scanning.
    29      - name: Initialize CodeQL
    30        uses: github/codeql-action/init@v2
    31        with:
    32          languages: go
    33
    34      - name: Autobuild
    35        uses: github/codeql-action/autobuild@v2
    36
    37      - name: Perform CodeQL Analysis
    38        uses: github/codeql-action/analyze@v2
    39

View as plain text