docs(adr): adopt released truth for public documentation #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ADR Governance | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| paths: | |
| - 'adr/**' | |
| - '.adr-kit.yaml' | |
| - 'scripts/adr-governance.py' | |
| - 'scripts/tests/**' | |
| - '.github/workflows/adr-governance.yml' | |
| push: | |
| branches: | |
| - main | |
| - master | |
| paths: | |
| - 'adr/**' | |
| - '.adr-kit.yaml' | |
| - 'scripts/adr-governance.py' | |
| - 'scripts/tests/**' | |
| - '.github/workflows/adr-governance.yml' | |
| jobs: | |
| adr-governance: | |
| name: Validate ADRs and immutable Accepted status | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Run ADR governance regression tests | |
| run: python3 -I -m unittest discover -s scripts/tests -p 'test_adr_governance.py' | |
| - name: Run ADR governance checks | |
| env: | |
| GITHUB_EVENT_BEFORE: ${{ github.event.before }} | |
| run: python3 -I scripts/adr-governance.py |