Skip to content

Commit 8523900

Browse files
committed
ci: Send a weekly notification to discord summarizing the unreleased commits
1 parent 067be3f commit 8523900

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: 🔔 Notify Unreleased Commits
2+
on:
3+
schedule:
4+
- cron: '0 20 * * 1' # Weekly at 8 PM UTC (3 PM CT)
5+
6+
jobs:
7+
notify:
8+
runs-on: ubuntu-22.04
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0
12+
13+
- name: List Commits
14+
id: list-commits
15+
run: |
16+
OUTPUT="$(./scripts/list-unreleased-commits.sh)"
17+
echo "::set-output name=summary::${OUTPUT}"
18+
19+
- name: Discord notification
20+
uses: Ilshidur/action-discord@d2594079a10f1d6739ee50a2471f0ca57418b554
21+
env:
22+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_UNRELEASED_COMMITS }}
23+
with:
24+
args: |
25+
```
26+
{{ steps.list-commits.outputs.summary }}
27+
```
28+
29+
If a package needs released, please [run the workflow](https://github.com/wxt-dev/wxt/actions/workflows/release.yml).
30+
31+
Before running, consider:
32+
- Are there any breaking changes? If so, prepare a list of breaking changes and update the changelog and release notes after the release.
33+
- Are there any PRs open that we wait to release after they're merged?

0 commit comments

Comments
 (0)