mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-08-10 16:32:28 +00:00
Harden issue gate enforcement and lifecycle validation
This commit is contained in:
6
.github/workflows/issue-gate.yml
vendored
6
.github/workflows/issue-gate.yml
vendored
@@ -37,9 +37,9 @@ jobs:
|
||||
- name: Evaluate ready issue
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Until a cutoff is configured, every PR is treated as legacy. This
|
||||
# keeps the newly merged workflow inert by default.
|
||||
ISSUE_GATE_CUTOFF: ${{ vars.ISSUE_GATE_CUTOFF || '9999-12-31T00:00:00Z' }}
|
||||
# The script keeps observe mode inert when this is unset and refuses
|
||||
# to enter block or close mode without an explicit value.
|
||||
ISSUE_GATE_CUTOFF: ${{ vars.ISSUE_GATE_CUTOFF }}
|
||||
ISSUE_GATE_MODE: ${{ vars.ISSUE_GATE_MODE || 'observe' }}
|
||||
ISSUE_GATE_READY_LABEL: ${{ vars.ISSUE_GATE_READY_LABEL || 'state:ready' }}
|
||||
PR_NUMBER: ${{ inputs.pr_number || github.event.pull_request.number }}
|
||||
|
||||
Reference in New Issue
Block a user