We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f7c452 commit 0251f24Copy full SHA for 0251f24
2 files changed
.github/workflows/check-public-api.yaml
@@ -0,0 +1,37 @@
1
+name: Check Public API
2
+
3
+on:
4
+ pull_request:
5
+ paths-ignore:
6
+ - "**/*.md"
7
+ - ".github/**"
8
+ - "scripts/**"
9
+ - "*.json"
10
+ - "*.nix"
11
+ - "*.lock"
12
+ - ".gitignore"
13
+ - ".gitmodules"
14
15
+concurrency:
16
+ group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17
+ cancel-in-progress: true
18
19
+permissions:
20
+ contents: read
21
22
+jobs:
23
+ check-public-api:
24
+ runs-on: ubuntu-latest
25
+ steps:
26
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
27
+ with:
28
+ fetch-depth: 0
29
30
+ - name: Install uv
31
+ run: pip install uv
32
33
+ - name: Check public API
34
+ env:
35
+ BASE_SHA: ${{ github.event.pull_request.base.sha }}
36
+ run: |
37
+ uv run --script scripts/check_public_api.py --base-ref "$BASE_SHA"
0 commit comments