Files
teleport/.github/workflows/codeql.yml
T
dependabot[bot]andWalt a84ed24078 Bump actions/checkout from 3 to 4 (#31413)
* Bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .github/workflows/os-compatibility-test.yaml

* Do not upgrade checkouts that run in centos:7

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Walt <walt@goteleport.com>
2023-09-15 21:38:13 +00:00

52 lines
1.2 KiB
YAML

name: "CodeQL"
on:
schedule:
- cron: '0 13 * * *' # At 1:00 PM UTC every day
jobs:
analyze:
name: Analyze
if: ${{ !startsWith(github.head_ref, 'dependabot/') }}
runs-on: ubuntu-22.04-16core
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
branch: [ 'master', 'branch/v12', 'branch/v13', 'branch/v14' ]
language: [ 'go', 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
- name: Set up Go
uses: actions/setup-go@v4
with:
cache: false
go-version-file: go.mod
if: ${{ matrix.language == 'go' }}
- name: Initialize the CodeQL tools for scanning
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: security-extended
timeout-minutes: 5
- name: Autobuild
uses: github/codeql-action/autobuild@v2
timeout-minutes: 30
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
timeout-minutes: 10