Skip to content

Commit ad1df49

Browse files
committed
feat: add release-gate script and tests for draft release classification
1 parent a00f34a commit ad1df49

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/weekly-release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,22 @@ on:
1515
description: Show diff but do not publish.
1616
type: boolean
1717
default: false
18+
low-priority-cooldown-weeks:
19+
description: >
20+
Override central low-priority cooldown (weeks). Empty uses
21+
central default (3). Set '0' to release low-priority drafts
22+
immediately.
23+
type: string
24+
default: ''
25+
low-priority-sections:
26+
description: >
27+
Override central low-priority section list (comma-separated
28+
keywords). Empty uses central default
29+
('Maintenance,Documentation'). Regardless of this setting,
30+
Dependabot github_actions bumps are filtered out so drafts
31+
made of only those never publish.
32+
type: string
33+
default: ''
1834

1935
concurrency:
2036
group: weekly-release-${{ github.repository }}
@@ -32,3 +48,5 @@ jobs:
3248
repo-type: single
3349
dry-run: ${{ inputs.dry-run || false }}
3450
draft-tags: ${{ inputs.draft-tags || '' }}
51+
low-priority-cooldown-weeks: ${{ inputs.low-priority-cooldown-weeks || '' }}
52+
low-priority-sections: ${{ inputs.low-priority-sections || '' }}

0 commit comments

Comments
 (0)