Skip to content

Commit 70dd3c5

Browse files
merging from main
2 parents 99a6867 + 6031584 commit 70dd3c5

53 files changed

Lines changed: 2705 additions & 986 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.bandit

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Bandit configuration (YAML format, bandit 1.9+)
2+
# https://bandit.readthedocs.io/en/latest/config.html
3+
#
4+
# NOTE: scan targets must be passed via -r on the CLI; the YAML config
5+
# does not support a "targets" key. Edit the workflow's bandit command
6+
# to add new directories.
7+
8+
# Exclude test directories (test code often has intentional patterns
9+
# that trigger false positives like assert, subprocess in fixtures)
10+
exclude_dirs:
11+
- "*/tests/*"

.checkov.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Checkov configuration
2+
# https://www.checkov.io/2.Basics/CLI%20Command%20Reference.html
3+
4+
# Scan GitHub Actions workflows and Dockerfiles
5+
framework:
6+
- github_actions
7+
- dockerfile
8+
9+
# Skip checks that conflict with this repo's patterns.
10+
#
11+
# Repo-wide suppressions go here. For file-level suppressions, use inline
12+
# comments in the source file:
13+
#
14+
# Dockerfile:
15+
# # checkov:skip=CKV_DOCKER_2:healthcheck not needed for build-only image
16+
# FROM python:3.12-slim
17+
#
18+
# GitHub Actions YAML:
19+
# # checkov:skip=CKV_GHA_7:buildspec-override requires user parameters
20+
# - uses: aws-actions/aws-codebuild-run-build@v1
21+
#
22+
# Multiple skips on one line:
23+
# # checkov:skip=CKV_DOCKER_2,CKV_DOCKER_3:reason for both
24+
skip-check:
25+
# CKV_GHA_7: "The build output cannot be affected by user parameters other
26+
# than the build entry point and the top-level source location"
27+
# — conflicts with inline buildspec-override in codebuild.yml
28+
- CKV_GHA_7

.github/labeler.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Auto-label configuration for actions/labeler
2+
# See https://github.com/actions/labeler#match-object for syntax
3+
4+
rules:
5+
- changed-files:
6+
- any-glob-to-any-file: 'aidlc-rules/**'
7+
8+
documentation:
9+
- changed-files:
10+
- all-globs-to-any-file:
11+
- '**/*.md'
12+
- '!aidlc-rules/**'
13+
14+
github:
15+
- changed-files:
16+
- any-glob-to-any-file: '.github/**'

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
push:
7+
branches: [ "main" ]
8+
workflow_dispatch:
9+
10+
permissions: {}
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
markdownlint:
18+
name: Markdown Lint
19+
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
22+
steps:
23+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1
24+
- uses: DavidAnson/markdownlint-cli2-action@ce4853d43830c74c1753b39f3cf40f71c2031eb9 #v23.0.0
25+
with:
26+
globs: "**/*.md"

0 commit comments

Comments
 (0)