Skip to content

Commit 56c86f4

Browse files
chore: add CODEOWNERS and SBOM workflow for CELA compliance
* docs: add OpenSSF badges, update OWASP to 10/10, add v1.0.0 release notes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: add CODEOWNERS and SBOM generation workflow - CODEOWNERS: @imran-siddique as default reviewer for all packages - SBOM workflow: generates SPDX + CycloneDX SBOMs on release - Uses anchore/sbom-action with pinned SHA - Attests SBOM via actions/attest-sbom for supply chain security - Uploads SBOMs as release assets - Addresses CELA release checklist gaps for supply chain compliance Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 93ae721 commit 56c86f4

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed

.github/CODEOWNERS

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# CODEOWNERS — Default reviewers for microsoft/agent-governance-toolkit
2+
# See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
3+
4+
# Default owners for everything in the repo
5+
* @imran-siddique
6+
7+
# Package-specific ownership
8+
/packages/agent-os/ @imran-siddique
9+
/packages/agent-mesh/ @imran-siddique
10+
/packages/agent-hypervisor/ @imran-siddique
11+
/packages/agent-sre/ @imran-siddique
12+
/packages/agent-compliance/ @imran-siddique
13+
14+
# CI/CD and GitHub configuration
15+
/.github/ @imran-siddique
16+
17+
# Documentation
18+
/docs/ @imran-siddique
19+
*.md @imran-siddique

.github/workflows/sbom.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
4+
name: SBOM Generation
5+
6+
on:
7+
release:
8+
types: [published]
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: write
13+
id-token: write
14+
attestations: write
15+
16+
jobs:
17+
sbom:
18+
name: Generate SBOM
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
23+
- name: Generate SBOM
24+
uses: anchore/sbom-action@e11c554f704a0b820cbf8c51673f6945e0731532 # v0.18.0
25+
with:
26+
path: .
27+
format: spdx-json
28+
output-file: sbom.spdx.json
29+
artifact-name: sbom-spdx
30+
31+
- name: Generate CycloneDX SBOM
32+
uses: anchore/sbom-action@e11c554f704a0b820cbf8c51673f6945e0731532 # v0.18.0
33+
with:
34+
path: .
35+
format: cyclonedx-json
36+
output-file: sbom.cdx.json
37+
artifact-name: sbom-cyclonedx
38+
39+
- name: Attest SBOM
40+
if: github.event_name == 'release'
41+
uses: actions/attest-sbom@115c3be05ff3974bcbd0b9f9ef62b1aaad0cae2b # v2.2.0
42+
with:
43+
subject-path: sbom.spdx.json
44+
sbom-format: spdx+json
45+
46+
- name: Upload SBOMs to release
47+
if: github.event_name == 'release'
48+
env:
49+
GH_TOKEN: ${{ github.token }}
50+
run: |
51+
gh release upload "${{ github.event.release.tag_name }}" \
52+
sbom.spdx.json \
53+
sbom.cdx.json \
54+
--clobber

0 commit comments

Comments
 (0)