Skip to content

Commit 3508382

Browse files
committed
feat: add release-please
1 parent f33f1d9 commit 3508382

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.github/workflows/notify-discord.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
name: Notify Discord
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
release:
5+
types: [published]
76
workflow_dispatch:
87

98
jobs:
109
notify-discord:
1110
runs-on: ubuntu-latest
1211
steps:
1312
- name: Checkout
14-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1514

1615
- name: Notify Discord
1716
uses: SethCohen/github-releases-to-discord@v1.13.1
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release Please
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release-please:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Release Please
13+
uses: google-github-actions/release-please-action@v4
14+
with:
15+
release-type: python
16+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)