-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
32 lines (29 loc) · 1.13 KB
/
Copy pathrelease-reminder.yml
File metadata and controls
32 lines (29 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Weekly release reminder
on:
# Tuesdays 15:30 UTC
schedule:
- cron: "30 15 * * 2"
workflow_dispatch: {}
permissions:
issues: write
jobs:
remind:
runs-on: ubuntu-latest
steps:
- name: Open release reminder issue
uses: actions/github-script@v7
with:
script: |
await github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: `Weekly release - ${new Date().toISOString().slice(0, 10)}`,
body: [
"1. Decide on any remaining PRs to merge into `develop`. Check the [Approved Candidates for Release](https://github.com/processing/p5.js-web-editor/pulls?q=is%3Apr+is%3Aopen+review%3Aapproved)",
"2. Review what's merged into `develop` since the last release.",
"3. Decide the version bump (patch/minor/major).",
"4. Run the [Create a release](../actions/workflows/release.yml) workflow with that version.",
"",
"No release needed this week? Just close this issue."
].join("\n")
});