Skip to content

Commit fff8213

Browse files
authored
Merge pull request #4266 from processing/clairep/create_release_reminder_cron
Add `create-release.yaml`
2 parents 88bd45e + 0e4e370 commit fff8213

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Weekly release reminder
2+
3+
on:
4+
# Tuesdays 15:30 UTC
5+
schedule:
6+
- cron: "30 15 * * 2"
7+
workflow_dispatch: {}
8+
9+
permissions:
10+
issues: write
11+
12+
jobs:
13+
remind:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Open release reminder issue
17+
uses: actions/github-script@v7
18+
with:
19+
script: |
20+
await github.rest.issues.create({
21+
owner: context.repo.owner,
22+
repo: context.repo.repo,
23+
title: `Weekly release - ${new Date().toISOString().slice(0, 10)}`,
24+
body: [
25+
"1. Decide on any remaining PRs to merge into `develop`",
26+
"2. Review what's merged into `develop` since the last release.",
27+
"3. Decide the version bump (patch/minor/major).",
28+
"4. Run the [Create a release](../actions/workflows/release.yml) workflow with that version.",
29+
"",
30+
"No release needed this week? Just close this issue."
31+
].join("\n")
32+
});

0 commit comments

Comments
 (0)