From 8527e94730cbb483dee860bd0f99e26530cf478a Mon Sep 17 00:00:00 2001 From: jcant0n Date: Sun, 2 Aug 2026 23:08:35 +0200 Subject: [PATCH] feat: gate agent pull requests on the public API delta --- .github/workflows/api-gate.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/api-gate.yml diff --git a/.github/workflows/api-gate.yml b/.github/workflows/api-gate.yml new file mode 100644 index 0000000..af9ed03 --- /dev/null +++ b/.github/workflows/api-gate.yml @@ -0,0 +1,22 @@ +# Measures what a pull request does to the public API surface, and merges the +# binding updater's work when nothing anyone depends on has moved. +# +# The measurement runs on every pull request, including human ones -- knowing +# which symbols a change adds or removes is useful whoever wrote it. Only the +# merge is restricted to the agent. + +name: API Gate + +on: + pull_request: + branches: [ "main" ] + +jobs: + api: + uses: EvergineTeam/Evergine.Bindings/.github/workflows/binding-api-gate.yml@v1 + with: + binding-project: "VulkanGen/Evergine.Bindings.Vulkan/Evergine.Bindings.Vulkan.csproj" + auto-merge: true + app-client-id: ${{ vars.APP_CLIENT_ID }} + secrets: + APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}