[clang] [llvm] [libclang/python][ci] Add release Clang Python Bindings CI workflow (PR #168234)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 19 11:20:00 PST 2025


================
@@ -0,0 +1,111 @@
+name: Release Clang Python Bindings
+
+permissions:
+  contents: read
+
+on:
+  push:
+    branches:
+      - main
+      - release/*
+    paths:
+      - .github/workflows/release-clang-pypi.yml
+      - 'clang/bindings/python/**'
+
+  pull_request:
+    paths:
+      - .github/workflows/release-clang-pypi.yml
+      - 'clang/bindings/python/**'
+
+  workflow_dispatch:
+    inputs:
+      release-version:
+        description: 'Release Version'
+        required: false
+        type: string
+
+  workflow_call:
+    inputs:
+      release-version:
+        description: 'Release Version'
+        required: true
+        type: string
+    secrets:
+      RELEASE_TASKS_USER_TOKEN:
+        description: "Secret used to check user permissions."
+        required: false
+
+jobs:
+  build-release:
+    if: github.repository_owner == 'llvm' || github.event_name == 'workflow_dispatch'
----------------
boomanaiden154 wrote:

Why do we also allow this on non LLVM repos if it is a workflow dispatch?

We should probably only be letting things run on the monorepo just to be consistent with the rest of our workflows.

https://github.com/llvm/llvm-project/pull/168234


More information about the llvm-commits mailing list