Skip to content

Commit 2c2e1d7

Browse files
committed
Add auto-changelog on Release
This PR adds a Github action which is triggered when a release is published. The action adds a new entry to the public Nexmo changelog with the contents of the release notes
1 parent 6695edc commit 2c2e1d7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/main.workflow

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
workflow "New release" {
2+
on = "release"
3+
resolves = ["Add Changelog"]
4+
}
5+
6+
action "Add Changelog" {
7+
uses = "nexmo/github-actions/nexmo-changelog@master"
8+
secrets = ["CHANGELOG_AUTH_TOKEN"]
9+
env = {
10+
CHANGELOG_CATEGORY = "Server SDK"
11+
CHANGELOG_SUBCATEGORY = "php"
12+
CHANGELOG_RELEASE_TITLE = "nexmo-php"
13+
}
14+
}

0 commit comments

Comments
 (0)