| 1 | name: Weekly release |
| 2 | |
| 3 | on: |
| 4 | schedule: |
| 5 | - cron: '0 8 * * 2' |
| 6 | workflow_dispatch: |
| 7 | inputs: |
| 8 | draft-tags: |
| 9 | description: > |
| 10 | Tags to publish, comma-separated (e.g. "v1.2.3"). |
| 11 | Matched as substrings. Empty = all drafts. |
| 12 | type: string |
| 13 | default: '' |
| 14 | dry-run: |
| 15 | description: Show diff but do not publish. |
| 16 | type: boolean |
| 17 | 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: '' |
| 34 | |
| 35 | concurrency: |
| 36 | group: weekly-release-${{ github.repository }} |
| 37 | cancel-in-progress: false |
| 38 | |
| 39 | permissions: |
| 40 | contents: write |
| 41 | pull-requests: read |
| 42 | issues: write |
| 43 | |
| 44 | jobs: |
| 45 | release: |
| 46 | uses: gofiber/.github/.github/workflows/weekly-release.yml@main |
| 47 | with: |
| 48 | repo-type: single |
| 49 | dry-run: ${{ inputs.dry-run || false }} |
| 50 | draft-tags: ${{ inputs.draft-tags || '' }} |
| 51 | post-release-events: after-release |
| 52 | low-priority-cooldown-weeks: ${{ inputs.low-priority-cooldown-weeks || '' }} |
| 53 | low-priority-sections: ${{ inputs.low-priority-sections || '' }} |
| 54 | secrets: |
| 55 | dispatch-token: ${{ secrets.DISPATCH_TOKEN }} |