Skip to content

Commit 88f2ee2

Browse files
authored
Merge branch 'develop' into fix/merge-cleanup-distributed-subdirs
2 parents aef1121 + b939371 commit 88f2ee2

257 files changed

Lines changed: 22300 additions & 4457 deletions

File tree

Some content is hidden

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

.github/actions/snyk-test/action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ runs:
2020
SNYK_TOKEN: ${{ inputs.token }}
2121
run: |
2222
echo "::group::Running snyk test ..."
23-
# latest pip-tools incompatible with pip 26.0
24-
pip install --force-reinstall 'pip<26.0'
25-
pip install pip-tools
23+
pip install "pip-tools>=7.6.1"
2624
pip-compile pyproject.toml -o requirements.txt
2725
pip install -r requirements.txt
2826
snyk test --file=requirements.txt

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ updates:
77
commit-message:
88
prefix: fix
99
include: scope
10+
groups:
11+
codeql-action:
12+
patterns:
13+
- "github/codeql-action/init"
14+
- "github/codeql-action/analyze"
1015

1116
- package-ecosystem: "pip"
1217
directory: "/"

.github/security-insights.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
header:
22
schema-version: 2.0.0
3-
last-updated: '2025-03-20'
4-
last-reviewed: '2025-03-20'
3+
last-updated: '2026-05-28'
4+
last-reviewed: '2026-05-28'
55
url: https://github.com/oscal-compass/compliance-trestle/blob/develop/.github/security-insights.yml
66
project-si-source: https://raw.githubusercontent.com/oscal-compass/.github/refs/heads/main/.github/security-insights.yml
77
comment: |
@@ -17,21 +17,16 @@ repository:
1717
# From the complaince-trestle MAINTAINER.md file
1818
# https://github.com/oscal-compass/compliance-trestle/blob/develop/MAINTAINERS.md
1919
core-team:
20-
- name: Alejandro Jose Leiva Palomo
21-
primary: true
2220
- name: Christopher Butler
2321
primary: true
2422
- name: Lou Degenaro
2523
primary: true
26-
- name: Jennifer Power
27-
primary: true
28-
- name: Manjiree Gadgil
29-
primary: true
3024
- name: Vikas Agarwal
3125
primary: true
3226
documentation:
3327
contributing-guide: https://github.com/oscal-compass/compliance-trestle/blob/develop/CONTRIBUTING.md
3428
security-policy: https://github.com/oscal-compass/community/blob/main/SECURITY.md
29+
review-policy: https://github.com/oscal-compass/compliance-trestle/blob/develop/docs/code-review-policy.md
3530
license:
3631
url: https://github.com/oscal-compass/compliance-trestle/blob/develop/LICENSE
3732
expression: Apache-2.0
@@ -45,6 +40,12 @@ repository:
4540
comment: |
4641
This attestation communicates the Trusted Publisher identity
4742
used to publish the project.
43+
- name: SLSA Build Provenance
44+
location: https://github.com/oscal-compass/compliance-trestle/releases
45+
predicate-uri: https://slsa.dev/provenance/v1
46+
comment: |
47+
SLSA build provenance attestation generated automatically
48+
for all release distribution artifacts via actions/attest.
4849
distribution-points:
4950
- uri: https://github.com/oscal-compass/compliance-trestle/releases
5051
comment: GitHub Release Page

.github/workflows/act-test.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Test workflows with act
2+
3+
on:
4+
pull_request:
5+
types: [labeled, synchronize, opened]
6+
paths:
7+
- '.github/**'
8+
9+
permissions: read-all
10+
11+
jobs:
12+
act-dry-run:
13+
if: contains(github.event.pull_request.labels.*.name, 'github_actions')
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
17+
with:
18+
submodules: true
19+
20+
- name: Install act
21+
run: |
22+
curl -fsSL https://raw.githubusercontent.com/nektos/act/36add66f6520c77c15dfce4715ba6c689d427981/install.sh | sudo bash -s -- -b /usr/local/bin v0.2.87
23+
mkdir -p ~/.config/act
24+
printf -- '-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest\n' > ~/.config/act/actrc
25+
26+
- name: Dry-run actionlint workflow
27+
run: |
28+
act -n -W .github/workflows/actionlint.yml --container-architecture linux/amd64
29+
30+
- name: Dry-run PR test pipeline
31+
run: |
32+
act -n -W .github/workflows/python-test.yml --container-architecture linux/amd64
33+
34+
- name: Dry-run deploy pipeline
35+
run: |
36+
act -n -W .github/workflows/python-push.yml --container-architecture linux/amd64
37+
38+
- name: Dry-run conventional PR pipeline
39+
run: |
40+
act -n -W .github/workflows/conventional-pr.yml --container-architecture linux/amd64

.github/workflows/actionlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout the repository
18-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1919
- name: Add problem matcher
2020
run: echo "::add-matcher::.github/actionlint-matcher.json"
2121
- name: Check workflow files

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ jobs:
5959
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
6060
steps:
6161
- name: Checkout repository
62-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
62+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6363

6464
# Initializes the CodeQL tools for scanning.
6565
- name: Initialize CodeQL
66-
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
66+
uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8
6767
with:
6868
languages: ${{ matrix.language }}
6969
build-mode: ${{ matrix.build-mode }}
@@ -91,6 +91,6 @@ jobs:
9191
exit 1
9292
9393
- name: Perform CodeQL Analysis
94-
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
94+
uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8
9595
with:
9696
category: "/language:${{matrix.language}}"

.github/workflows/conventional-pr.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
branches:
1010
- 'main'
1111
- 'develop'
12+
- 'v[0-9]*'
1213
permissions:
1314
contents: read
1415

@@ -18,7 +19,7 @@ jobs:
1819
runs-on: ubuntu-latest
1920
steps:
2021
- name: Checkout code
21-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
22+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2223

2324
- name: Install dependencies
2425
run: npm install @commitlint/cli @commitlint/config-conventional
@@ -27,3 +28,14 @@ jobs:
2728
run: |
2829
PR_TITLE=$(jq -r '.pull_request.title' "$GITHUB_EVENT_PATH")
2930
echo "$PR_TITLE" | npx commitlint --config commitlint.config.js
31+
32+
- name: Validate commit type for maintenance branch
33+
if: startsWith(github.base_ref, 'v')
34+
run: |
35+
PR_TITLE=$(jq -r '.pull_request.title' "$GITHUB_EVENT_PATH" | sed 's/^[[:space:]]*//')
36+
ALLOWED_TYPES='^(fix|perf|chore|ci|docs|build|refactor|style|test|revert)(\(.*\))?:'
37+
if ! echo "$PR_TITLE" | grep -qiE "$ALLOWED_TYPES"; then
38+
echo "::error::PR title must use an allowed type for maintenance branches: fix, perf, chore, ci, docs, build, refactor, style, test, revert."
39+
echo "::error::Got: $PR_TITLE"
40+
exit 1
41+
fi

.github/workflows/docs-update.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- v*
1010
permissions: read-all
1111
concurrency:
12-
group: docs-${{ github.sha }} # Don't double up when tags are on develop
12+
group: docs-deploy-global
1313
cancel-in-progress: false
1414
jobs:
1515
set-versions:
@@ -18,7 +18,7 @@ jobs:
1818
min: ${{ steps.versions.outputs.min }}
1919
max: ${{ steps.versions.outputs.max }}
2020
steps:
21-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2222
- id: versions
2323
run: |
2424
min_version=$(jq '.PYTHON_MIN' -r version.json)
@@ -33,9 +33,9 @@ jobs:
3333
outputs:
3434
mver: ${{ steps.versions.outputs.mver }}
3535
steps:
36-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3737
- name: Set up Python ${{ needs.set-versions.outputs.max }}
38-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
38+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3939
# This is deliberately not using a custom credential as it relies on native github actions token to have push rights.
4040
with:
4141
python-version: ${{ needs.set-versions.outputs.max }}
@@ -49,18 +49,18 @@ jobs:
4949
runs-on: ubuntu-latest
5050
needs: [ mike-version, set-versions ]
5151
steps:
52-
- uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
52+
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
5353
id: app-token
5454
with:
5555
app-id: ${{ secrets.APP_ID }}
5656
private-key: ${{ secrets.PRIVATE_KEY }}
57-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
57+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5858
with:
5959
submodules: true
6060
fetch-depth: 0
6161
token: ${{ steps.app-token.outputs.token }}
6262
- name: Set up Python ${{ needs.set-versions.outputs.max }}
63-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
63+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
6464
# This is deliberately not using a custom credential as it relies on native github actions token to have push rights.
6565
with:
6666
python-version: ${{ needs.set-versions.outputs.max }}
@@ -86,6 +86,8 @@ jobs:
8686
ID: ${{ steps.get-user-id.outputs.user-id }}
8787
- name: Create release
8888
shell: bash
89+
env:
90+
NO_MKDOCS_2_WARNING: '1'
8991
run: |
9092
mike deploy --push ${{ needs.mike-version.outputs.mver }}
9193
- name: Ensure latest is latest

0 commit comments

Comments
 (0)