Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
Dispatch a repository event on new published releases (#945)
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 27, 2022
1 parent 031e2b8 commit ea8bd4d
Show file tree
Hide file tree
Showing 2 changed files with 21 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/fidesops-plus
event-type: new-fidesops-release
client-payload: '{"tag": "${{ github.event.release.tag_name }}", "url": "${{ github.event.release.html_url }}"}'
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ The types of changes are:
* Move tests into an `ops` subdir [#935](https://github.com/ethyca/fidesops/pull/935)
* Updated the docs docker base image to be consistent with the fidesops image [949](https://github.com/ethyca/fidesops/pull/949)

### Developer Experience

* When releases are published, dispatch a repository webhook event to ethyca/fidesops-plus [#945](https://github.com/ethyca/fidesops/pull/945)

### Breaking Changes

* Update fidesops to use bcrypt for hashing [#876](https://github.com/ethyca/fidesops/pull/876)
Expand Down

0 comments on commit ea8bd4d

Please sign in to comment.