Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Gated scan pipeline from listepo/infra: CodeQL, Semgrep and Snyk in parallel behind
# `pipeline / gate`. Rust CI is off (`rust: false`): the local ci.yml covers the
# Rust crates.
# Inputs, secrets and permissions: listepo/infra docs/reusable-workflows.md.
name: pipeline

on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize, reopened, ready_for_review]
schedule:
- cron: "17 4 * * 1"
workflow_dispatch:

concurrency:
group: pipeline-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

permissions:
contents: read

jobs:
pipeline:
uses: listepo/infra/.github/workflows/pipeline.yml@189816ac5a375e18e0235044970efcbc40e3cabd
permissions:
contents: read
security-events: write
actions: read
with:
rust: false
# Not scanned: swift (no build-mode none), kotlin (needs a build), python (vendored).
codeql-languages: '["actions", "c-cpp", "javascript-typescript", "rust"]'
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}