From 310ceea0d814ddfc3584d52f9a6b662c3f925976 Mon Sep 17 00:00:00 2001 From: Bruno Domingues Date: Tue, 4 Aug 2026 11:41:23 -0300 Subject: [PATCH] ci(quality-gate): Configure push triggers, concurrency, and granular permissions --- .github/workflows/quality-gate.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/quality-gate.yml b/.github/workflows/quality-gate.yml index 79249d6..f50c9c5 100644 --- a/.github/workflows/quality-gate.yml +++ b/.github/workflows/quality-gate.yml @@ -1,15 +1,29 @@ name: Quality gate on: + push: + branches: + - main + - 'release/**' + - 'feature/**' pull_request: branches: - main + - 'release/**' + - 'feature/**' types: [ opened, synchronize, reopened ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: quality-gate: uses: Aignosi/github_workflow_templates/.github/workflows/python-quality-gate.yml@main - permissions: write-all + permissions: + contents: read + pull-requests: write + issues: write with: project_name: 'laborious' repositories: 'sientia-dataops-library, sientia-mlops-library'