Skip to content

Commit a42385c

Browse files
authored
Add changelog workflow (#2429)
1 parent b308bde commit a42385c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/changelog.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Public Changelog
2+
on:
3+
workflow_dispatch:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
changelog:
9+
name: Public Changelog
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
pull-requests: read
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: Automattic/vip-actions/changelog@f083b1e1e0cd092ee5cafa6621d32a28c68bf7ee # trunk
17+
with:
18+
endpoint: ${{ vars.CHANGELOG_POST_ENDPOINT }}
19+
endpoint-token: ${{ secrets.CHANGELOG_POST_TOKEN }}
20+
repo-token: ${{ secrets.GITHUB_TOKEN }}
21+
status: 'draft'
22+
category-id: '26'
23+
link-to-pr: true
24+
source: 'last-release'

0 commit comments

Comments
 (0)