mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 12:45:21 +01:00
Bumps the ci group with 2 updates in the / directory: [github/codeql-action](https://github.com/github/codeql-action) and [anchore/sbom-action](https://github.com/anchore/sbom-action). Updates `github/codeql-action` from 4.31.9 to 4.31.10 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](5d4e8d1aca...cdefb33c0f) Updates `anchore/sbom-action` from 0.21.0 to 0.21.1 - [Release notes](https://github.com/anchore/sbom-action/releases) - [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md) - [Commits](a930d0ac43...0b82b0b1a2) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.31.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: ci - dependency-name: anchore/sbom-action dependency-version: 0.21.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: ci ... Signed-off-by: dependabot[bot] <support@github.com>
58 lines
1.6 KiB
YAML
58 lines
1.6 KiB
YAML
name: "CodeQL"
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
# Ignore changes to common non-code files.
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
- '**/*.rst'
|
|
- '**/*.txt'
|
|
- '**/*.yml'
|
|
- '**/*.yaml'
|
|
- '**/*.json'
|
|
- '**/*.ini'
|
|
- '**/*.env'
|
|
schedule:
|
|
- cron: '25 6 * * 3'
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
|
|
with:
|
|
languages: go
|
|
# xref: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
# xref: https://codeql.github.com/codeql-query-help/go/
|
|
queries: security-and-quality
|
|
|
|
# Build the project, and run CodeQL analysis.
|
|
# We do not make use of autobuild as this would run the first Make
|
|
# target, which includes a lot more than just the Go files we want to
|
|
# scan.
|
|
- name: Build
|
|
run: |
|
|
make vendor
|
|
make install
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
|
|
with:
|
|
category: "/language:go"
|