Skip to content

Commit 1af48e6

Browse files
simplify (IMO)
1 parent cea39da commit 1af48e6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/cran-status-check.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@ jobs:
3333
# Count open issues with CRAN-related labels
3434
ISSUE_COUNT=$(gh issue list --label "cran-deadline" --state open --json number | jq length)
3535
if [ $ISSUE_COUNT -eq 0 ]; then
36-
SHOULD_RUN="true"
36+
echo "should-run=true" >> $GITHUB_OUTPUT
3737
echo "✅ Will run CRAN check"
3838
else
39-
SHOULD_RUN="false"
39+
echo "should-run=false" >> $GITHUB_OUTPUT
4040
echo "⏭️ Skipping CRAN check - existing issues found"
4141
fi
42-
echo "should-run=$SHOULD_RUN" >> $GITHUB_OUTPUT
4342
4443
- name: Fetch deadline for this package
4544
if: steps.check-issues.outputs.should-run == 'true'

0 commit comments

Comments
 (0)