Skip to content

build(deps): bump github/codeql-action from 3.26.6 to 3.26.7 #2349

build(deps): bump github/codeql-action from 3.26.6 to 3.26.7

build(deps): bump github/codeql-action from 3.26.6 to 3.26.7 #2349

Workflow file for this run

#*********************************************************************
# Copyright (c) Intel Corporation 2021
# SPDX-License-Identifier: Apache-2.0
#*********************************************************************/
name: "CodeQL"
on:
workflow_dispatch:
release:
types:
- created
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '39 3 * * 2'
permissions:
contents: read
jobs:
analyze:
name: Analyze
runs-on: windows-2019
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@8214744c546c1e5c8f03dde8fab3a7353211988d # v3.26.7
with:
languages: ${{ matrix.language }}
- run: |
make build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@8214744c546c1e5c8f03dde8fab3a7353211988d # v3.26.7
- name: Generate Security Report
uses: rsdmike/github-security-report-action@a149b24539044c92786ec39af8ba38c93496495d # v3.0.4
continue-on-error: true
with:
template: report
token: ${{ secrets.SECURITY_TOKEN }}
- name: Rename Report
shell: bash
continue-on-error: true
run: |
DATE=$(date +"%Y-%m-%d")
mv "report.pdf" "rpc-go-security-report-$DATE.pdf"
- name: GitHub Upload Release Artifacts
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
continue-on-error: true
with:
name: report
path: ./*.pdf