Skip to content

Commit 37ca15d

Browse files
authored
chore: add changelog-log workflow (deepgram#607)
1 parent 9d86216 commit 37ca15d

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Changelog Log
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "**/CHANGELOG*.md"
8+
- "**/changelog*.md"
9+
10+
jobs:
11+
notify:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Send changelog to webhook
20+
uses: lukeocodes/changelog-log@changelog-log-v0.1.6
21+
with:
22+
webhook_url: ${{ secrets.CHANGELOG_WEBHOOK_URL }}
23+
webhook_headers_json: '{"Content-Type":"application/json","X-DX-Logs-Key":"${{ secrets.CHANGELOG_SECRET }}"}'
24+
extra_body_json: '{"route":"changelog-python"}'
25+
# Project context is automatically inferred from GitHub context
26+
# You can override with:
27+
# project_name: "my-custom-project-name"
28+
# project_owner: "my-org"
29+
# repository_url: "https://github.com/owner/repo"
30+
# include_github_context: "true" # includes ref, workflow, actor info
31+
#
32+
# Other optional overrides:
33+
# file_globs: "CHANGELOG.md,**/CHANGELOG*.md"
34+
# entry_separator_regex: "^##\\s+.*$"
35+
# http_method: "POST"
36+
# include_body_raw: "false"
37+
# log_level: "warn" # trace, debug, info, warn, error, fatal
38+
# extra_body_json: '{"custom":"field"}' # merge custom fields into payload

0 commit comments

Comments
 (0)