-
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (25 loc) · 1013 Bytes
/
Copy pathcodeql.yml
File metadata and controls
30 lines (25 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# SPDX-License-Identifier: MPL-2.0
# CodeQL disabled - no scannable source code detected
name: CodeQL Security Analysis
on:
workflow_dispatch: # Manual trigger only
# Least-privilege permissions: satisfies the workflow-linter's top-level
# `permissions:` requirement AND SonarQube githubactions:S8234, which flags
# the broad `read-all`. This workflow's only job is a disabled placeholder,
# so read access to repository contents is more than sufficient.
permissions:
contents: read
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
# updates do not pile up queued runs against the shared account-wide
# Actions concurrency pool. Applied only to read-only check workflows
# (no publish/mutation), so cancelling a superseded run is always safe.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
placeholder:
runs-on: ubuntu-latest
timeout-minutes: 15
if: false
steps:
- run: echo "Enable when source code is added"