Skip to content

docs: system attestation types section + SARIF (S5, docs-led) #269

docs: system attestation types section + SARIF (S5, docs-led)

docs: system attestation types section + SARIF (S5, docs-led) #269

Workflow file for this run

name: PR Quality Checks
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
jobs:
test-live-docs:
name: Test live-docs scripts
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@a5ad31d6a139d249332a2605b85202e8c0b78450 # v2.19.1
with:
egress-policy: audit
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install dependencies
run: pip install requests pytest
- name: Run tests
run: pytest tests/
validate-title:
name: Validate PR Title
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@a5ad31d6a139d249332a2605b85202e8c0b78450 # v2.19.1
with:
egress-policy: audit
- name: Check PR title follows Conventional Commit format
uses: amannn/action-semantic-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure allowed types (based on conventional commits)
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
# Don't require a scope (e.g., "feat(<scope>): ...")
requireScope: false
# Don't allow subject to start with uppercase letter
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject (description) should start with a lowercase letter.
Example: "feat(api): add new endpoint" (not "feat(api): Add new endpoint")