File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -176,25 +176,20 @@ jobs:
176176
177177 # ── Phase 2: Authenticate & install CLI (before lockdown) ──────────
178178
179- - name : Enforce PR is open (and not draft)
179+ - name : Enforce PR is open
180180 env :
181181 PR_NUMBER : ${{ github.event.issue.number }}
182182 GH_TOKEN : ${{ github.token }}
183183 REPO : ${{ github.repository }}
184184 run : |
185- STATE=$(gh pr view "$PR_NUMBER" --repo "$REPO" --json state,isDraft --jq '.state')
186- DRAFT=$(gh pr view "$PR_NUMBER" --repo "$REPO" --json isDraft --jq '.isDraft')
185+ STATE=$(gh pr view "$PR_NUMBER" --repo "$REPO" --json state --jq '.state')
187186
188- echo "PR state: $STATE, draft: $DRAFT "
187+ echo "PR state: $STATE"
189188
190189 if [ "$STATE" != "OPEN" ]; then
191190 echo "::error::PR must be OPEN (got $STATE)"
192191 exit 1
193192 fi
194- if [ "$DRAFT" = "true" ]; then
195- echo "::error::PR must not be draft"
196- exit 1
197- fi
198193
199194 - name : Exchange OIDC for GitHub App token
200195 id : oidc-exchange
You can’t perform that action at this time.
0 commit comments