Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/notify-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# A GitHub action that notifies the developer
# changelog repository of any new releases.

name: Notify changelog

on:
# Only trigger for a full release,
# ignoring pre-releases and drafts
release:
types:
- released

jobs:
notify:
# This job can run on the latest Ubuntu
# and it should not take more than 3 minutes
runs-on: ubuntu-latest
timeout-minutes: 3

steps:
- name: Notify changelog of new release
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.DISPATCH_ACCESS_TOKEN }}
repository: box/box-developer-changelog
event-type: new-release-note
client-payload: '{"ref": "${{ github.ref }}", "repository": "${{github.repository}}", "labels": "sdks,python", "repo_display_name": "Box Python SDK"}'