You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +02:00
ee66d2c0c2
Fix #6514 This fix works on my main branch: https://github.com/XSAM/opentelemetry-go/commit/5935b601cb29943b22cfc89fbf568410abd1d1b7. OTel Java's codeql config: https://github.com/open-telemetry/opentelemetry-java/blob/main/.github/workflows/codeql.yml Co-authored-by: Damien Mathieu <42@dmathieu.com>
45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
name: "CodeQL Analysis"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
# ┌───────────── minute (0 - 59)
|
|
# │ ┌───────────── hour (0 - 23)
|
|
# │ │ ┌───────────── day of the month (1 - 31)
|
|
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
|
|
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
|
|
# │ │ │ │ │
|
|
# │ │ │ │ │
|
|
# │ │ │ │ │
|
|
# * * * * *
|
|
- cron: '30 1 * * *'
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
|
|
# Declare default permissions as read only.
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
CodeQL-Build:
|
|
permissions:
|
|
security-events: write
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
|
|
with:
|
|
languages: go
|
|
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
|
|
|