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/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: 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 }}