-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (35 loc) · 1.14 KB
/
Copy pathclaims-boundary.yml
File metadata and controls
42 lines (35 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Claims Boundary Guard
on:
pull_request:
paths:
- "README.md"
- "CHANGELOG.md"
- "CI-CONTRACT.md"
- "docs/**"
- "assay-action/action.yml"
- "assay-action/action.yaml"
- "scripts/ci/check-claims-boundary.py"
- "scripts/ci/check-required-contexts.py"
- ".github/rulesets/**"
- ".github/workflows/claims-boundary.yml"
workflow_dispatch:
permissions: {}
jobs:
claims-boundary:
name: claims-boundary
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
with:
persist-credentials: false
- name: Self-test claims-boundary guard
run: python3 scripts/ci/check-claims-boundary.py --self-test
- name: Scan public prose
run: python3 scripts/ci/check-claims-boundary.py
- name: Self-test required-contexts guard
run: python3 scripts/ci/check-required-contexts.py --self-test
- name: Check the required-context set agrees across every location
run: python3 scripts/ci/check-required-contexts.py