| 1 |
name: Weekly release |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
on: |
| 9 |
schedule: |
| 10 |
- cron: '0 8 * * 1' |
| 11 |
workflow_dispatch: |
| 12 |
inputs: |
| 13 |
draft-tags: |
| 14 |
description: > |
| 15 |
Tags or package names to publish, comma-separated (e.g. "v2.0.3" |
| 16 |
or "websocket,jwt"). Matched as substrings. Empty = all drafts. |
| 17 |
type: string |
| 18 |
default: '' |
| 19 |
dry-run: |
| 20 |
description: Show diff but do not publish. |
| 21 |
type: boolean |
| 22 |
default: false |
| 23 |
low-priority-cooldown-weeks: |
| 24 |
description: > |
| 25 |
Override central low-priority cooldown (weeks). Empty uses |
| 26 |
central default (3). Set '0' to release low-priority drafts |
| 27 |
immediately. |
| 28 |
type: string |
| 29 |
default: '' |
| 30 |
low-priority-sections: |
| 31 |
description: > |
| 32 |
Override central low-priority section list (comma-separated |
| 33 |
keywords). Empty uses central default |
| 34 |
('Maintenance,Documentation'). Regardless of this setting, |
| 35 |
Dependabot github_actions bumps are filtered out so drafts |
| 36 |
made of only those never publish. |
| 37 |
type: string |
| 38 |
default: '' |
| 39 |
|
| 40 |
concurrency: |
| 41 |
group: weekly-release-${{ github.repository }} |
| 42 |
cancel-in-progress: false |
| 43 |
|
| 44 |
permissions: |
| 45 |
contents: write |
| 46 |
pull-requests: read |
| 47 |
issues: write |
| 48 |
|
| 49 |
jobs: |
| 50 |
release: |
| 51 |
uses: gofiber/.github/.github/workflows/weekly-release.yml@main |
| 52 |
with: |
| 53 |
repo-type: single |
| 54 |
dry-run: ${{ inputs.dry-run || false }} |
| 55 |
draft-tags: ${{ inputs.draft-tags || '' }} |
| 56 |
post-release-events: after-release |
| 57 |
low-priority-cooldown-weeks: ${{ inputs.low-priority-cooldown-weeks || '' }} |
| 58 |
low-priority-sections: ${{ inputs.low-priority-sections || '' }} |
| 59 |
secrets: |
| 60 |
dispatch-token: ${{ secrets.DISPATCH_TOKEN }} |