From c247493f07c7412a04948da019f93fa960940d8d Mon Sep 17 00:00:00 2001 From: "banking-devops-app[bot]" <246456874+banking-devops-app[bot]@users.noreply.github.com> Date: Tue, 3 Nov 2026 15:17:43 +0000 Subject: [PATCH] ci: add Query Shield (DB query checks) --- .github/workflows/query-shield.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/query-shield.yml diff --git a/.github/workflows/query-shield.yml b/.github/workflows/query-shield.yml new file mode 100644 index 0000000..b448676 --- /dev/null +++ b/.github/workflows/query-shield.yml @@ -0,0 +1,18 @@ +# .github/workflows/query-shield.yml +name: Query Shield +'on': + pull_request: + types: [opened, synchronize, reopened, ready_for_review, closed] + push: + branches: [master, main] + paths: ['.github/workflows/query-shield.yml'] # the onboarding merge → baseline (runs it if none is on record) + workflow_dispatch: {} +jobs: + query-shield: + permissions: # a called workflow only gets what its caller grants + contents: read + statuses: write + issues: write + pull-requests: write + uses: razorpay/query-shield/.github/workflows/query-shield.yml@master + secrets: inherit # the runner App's ID and key (org secrets)