Skip to content

Commit

Permalink
Dispatch a repository event on new published releases (#938)
Browse files Browse the repository at this point in the history
* Add release dispatch event action

* Update `CHANGELOG.md`
  • Loading branch information
PSalant726 authored Jul 25, 2022
1 parent 73a770b commit cbe0899
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release_event.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release Dispatch Event

on:
release:
types: [released]

jobs:
Notify-of-New-Release:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.DISPATCH_ACCESS_TOKEN }}
repository: ethyca/fidesctl-plus
event-type: new-fidesctl-release
client-payload: '{"tag": "${{ github.event.release.tag_name }}", "url": "${{ github.event.release.html_url }}"}'
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ The types of changes are:
### Developer Experience

* Remove `API_PREFIX` from fidesctl/core/utils.py and change references to `API_PREFIX` in fidesctl/api/reoutes/util.py [922](https://github.com/ethyca/fides/pull/922)
* When releases are published, dispatch a repository webhook event to ethyca/fidesctl-plus [#938](https://github.com/ethyca/fides/pull/938)

### Docs

Expand Down

0 comments on commit cbe0899

Please sign in to comment.