From 3513ef0fcc7be5abd1c876276d34fcd0ce03d0f2 Mon Sep 17 00:00:00 2001 From: Leonid Skorobogatyy Date: Tue, 13 Oct 2026 02:51:52 +1100 Subject: [PATCH] workflow: add compliance shim calling central compliance master --- .github/workflows/compliance.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/compliance.yml diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml new file mode 100644 index 0000000..7f90f79 --- /dev/null +++ b/.github/workflows/compliance.yml @@ -0,0 +1,30 @@ +name: Issue and PR Compliance +on: + issues: + types: [opened, edited] + pull_request: + types: [opened, edited] + workflow_dispatch: + inputs: + item_number: + description: Issue or PR number + required: true + type: string + item_kind: + description: 'issue or pull_request' + type: string + default: 'issue' +permissions: + actions: read + contents: read + issues: write + pull-requests: write +jobs: + compliance: + uses: bashrusakh/.github/.github/workflows/compliance.lock.yml@7b665576f73b74a82dff45bee0dedf5566381a23 + with: + item_number: ${{ inputs.item_number || github.event.issue.number || github.event.pull_request.number }} + item_kind: ${{ inputs.item_kind || (github.event_name == 'issues' && 'issue' || 'pull_request') }} + contract_files: "CONTRIBUTING.md AGENTS.md" + secrets: + TRIAGE_API_KEY: ${{ secrets.TRIAGE_API_KEY }}