]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-100538: Add workflow to verify bundled libexpat (GH-145359) (#145409)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Mar 2026 23:59:46 +0000 (00:59 +0100)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2026 23:59:46 +0000 (00:59 +0100)
gh-100538: Add workflow to verify bundled libexpat (GH-145359)

Add workflow to verify bundled libexpat.
(cherry picked from commit c9a5d9aae48a9faa553a5e8137ff1b5e261f6bf6)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
.github/workflows/verify-expat.yml [new file with mode: 0644]

diff --git a/.github/workflows/verify-expat.yml b/.github/workflows/verify-expat.yml
new file mode 100644 (file)
index 0000000..6b12b95
--- /dev/null
@@ -0,0 +1,32 @@
+name: Verify bundled libexpat
+
+on:
+  workflow_dispatch:
+  push:
+    paths:
+      - 'Modules/expat/**'
+      - '.github/workflows/verify-expat.yml'
+  pull_request:
+    paths:
+      - 'Modules/expat/**'
+      - '.github/workflows/verify-expat.yml'
+
+permissions:
+  contents: read
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+  cancel-in-progress: true
+
+jobs:
+  verify:
+    runs-on: ubuntu-latest
+    timeout-minutes: 5
+    steps:
+      - uses: actions/checkout@v6
+        with:
+          persist-credentials: false
+      - name: Download and verify bundled libexpat files
+        run: |
+          ./Modules/expat/refresh.sh
+          git diff --exit-code Modules/expat/