Skip to content

Merge pull request #2415 from reviewdog/renovate/gitlab.com-gitlab-or… #212

Merge pull request #2415 from reviewdog/renovate/gitlab.com-gitlab-or…

Merge pull request #2415 from reviewdog/renovate/gitlab.com-gitlab-or… #212

name: "Code scanning - action"
on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 10 * * 6'
jobs:
CodeQL-Build:
permissions:
actions: read
contents: read
security-events: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
# Initializes the Golang environment for the CodeQL tools.
# https://github.com/github/codeql-action/issues/1842#issuecomment-1704398087
- name: Install Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with:
go-version-file: go.mod
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@2588666de8825e1e9dc4e2329a4c985457d55b32 # v3.32.1
with:
languages: go
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@2588666de8825e1e9dc4e2329a4c985457d55b32 # v3.32.1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@2588666de8825e1e9dc4e2329a4c985457d55b32 # v3.32.1