mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 12:45:21 +01:00
Bumps the ci group with 4 updates: [actions/cache](https://github.com/actions/cache), [actions/upload-artifact](https://github.com/actions/upload-artifact), [github/codeql-action](https://github.com/github/codeql-action) and [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer). Updates `actions/cache` from 4.2.0 to 4.2.1 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](1bd1e32a3b...0c907a75c2) Updates `actions/upload-artifact` from 4.6.0 to 4.6.1 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](65c4c4a1dd...4cec3d8aa0) Updates `github/codeql-action` from 3.28.9 to 3.28.10 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](9e8d0789d4...b56ba49b26) Updates `sigstore/cosign-installer` from 3.8.0 to 3.8.1 - [Release notes](https://github.com/sigstore/cosign-installer/releases) - [Commits](c56c2d3e59...d7d6bc7722) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch dependency-group: ci - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch dependency-group: ci - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: ci - dependency-name: sigstore/cosign-installer 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.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@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
|
|
with:
|
|
category: "/language:go"
|