From 38c12f5bf902db0f6f97ebbe8585495228ae9c7f Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Mon, 23 Nov 2026 04:15:15 +0800 Subject: [PATCH 1/2] chore(governance): pin PrGovernance to 3d44e3d0 --- .github/workflows/codex-nudge.yml | 11 +++++++++-- .github/workflows/risk-gate.yml | 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codex-nudge.yml b/.github/workflows/codex-nudge.yml index 602c8b2..00f2b13 100644 --- a/.github/workflows/codex-nudge.yml +++ b/.github/workflows/codex-nudge.yml @@ -7,7 +7,9 @@ name: Review request on: schedule: - - cron: '15 2,14 * * *' + - cron: '*/20 * * * *' + issue_comment: + types: [created] workflow_dispatch: permissions: @@ -24,11 +26,16 @@ concurrency: jobs: nudge: name: Request a review + if: >- + github.event_name != 'issue_comment' || + (github.event.issue.pull_request && + github.event.comment.user.type == 'Bot' && + github.event.comment.user.login != 'github-actions[bot]') runs-on: ubuntu-latest timeout-minutes: 5 steps: - name: Request - uses: Pigbibi/PrGovernance/pr-governance@7fe2ee20a3ee144ea944619e1c56f7ed5edc9152 + uses: Pigbibi/PrGovernance/pr-governance@3d44e3d057681d5ae2730ad76af2f53b72d26767 env: GOVERNANCE_REVIEWERS_JSON: ${{ vars.GOVERNANCE_REVIEWERS_JSON }} GOVERNANCE_DISPATCH_MENTIONS_JSON: ${{ vars.GOVERNANCE_DISPATCH_MENTIONS_JSON }} diff --git a/.github/workflows/risk-gate.yml b/.github/workflows/risk-gate.yml index 7f4c1e8..e599757 100644 --- a/.github/workflows/risk-gate.yml +++ b/.github/workflows/risk-gate.yml @@ -51,7 +51,7 @@ jobs: statuses: write steps: - name: Record label head - uses: Pigbibi/PrGovernance/pr-governance@7fe2ee20a3ee144ea944619e1c56f7ed5edc9152 + uses: Pigbibi/PrGovernance/pr-governance@3d44e3d057681d5ae2730ad76af2f53b72d26767 env: GOVERNANCE_OWNER_ID: ${{ vars.RISK_GATE_OWNER_ID }} GOVERNANCE_OWNER_LOGIN: ${{ vars.RISK_GATE_OWNER }} @@ -85,7 +85,7 @@ jobs: cancel-in-progress: true steps: - name: Evaluate - uses: Pigbibi/PrGovernance/pr-governance@7fe2ee20a3ee144ea944619e1c56f7ed5edc9152 + uses: Pigbibi/PrGovernance/pr-governance@3d44e3d057681d5ae2730ad76af2f53b72d26767 env: GOVERNANCE_OWNER_ID: ${{ vars.RISK_GATE_OWNER_ID }} GOVERNANCE_OWNER_LOGIN: ${{ vars.RISK_GATE_OWNER }} From b823cb9b5ff5028b2e279cb8c342f544a90c3dbf Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Mon, 23 Nov 2026 16:02:10 +0800 Subject: [PATCH 2/2] ci(security): trigger Gitleaks scan on pull_request and main --- .github/workflows/gitleaks.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml index b9c6cb1..f6f56b0 100644 --- a/.github/workflows/gitleaks.yml +++ b/.github/workflows/gitleaks.yml @@ -1,6 +1,9 @@ name: Shared Gitleaks scan on: + pull_request: + push: + branches: ["main"] workflow_call: inputs: full-history: