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

Dispatch a repository event on new published releases #945

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

PSalant726
Copy link
Contributor

@PSalant726 PSalant726 commented Jul 25, 2022

Purpose

There is no way for a GH Actions workflow to read the releases in another repository. In order for an issue to be automatically created in the fidesops-plus repository whenever a new fidesops release is published, the act of publishing the fidesops release must dispatch a repository event to the fidesops-plus repo. This event is used to trigger a separate GH Actions workflow in the fidesops-plus repository, which creates the desired issue.

Changes

  • Add a new GH Actions workflow to dispatch an event on new releases

Checklist

  • Update CHANGELOG.md file
    • Merge in main so the most recent CHANGELOG.md file is being appended to
    • Add description within the Unreleased section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.
    • Add a link to this PR at the end of the description with the PR number as the text. example: #1

Ticket

Related to ethyca/fidesops-plus#43
Blocks ethyca/fidesops-plus#50

@PSalant726 PSalant726 added dev experience Enhancements to the overall DX Tech Debt fidesops-plus Identifies work that is needed by the fidesops plus team github_actions Pull requests that update GitHub Actions code labels Jul 25, 2022
@PSalant726 PSalant726 self-assigned this Jul 25, 2022
@PSalant726 PSalant726 changed the title Add release dispatch event action Dispatch a repository event on new published releases Jul 25, 2022
@sanders41
Copy link
Contributor

@PSalant726 this is the same action you were testing on fidesctl and it was working there correct?

@PSalant726
Copy link
Contributor Author

this is the same action you were testing on fidesctl and it was working there correct?

Worked first try with no changes needed 😎

@seanpreston seanpreston self-assigned this Jul 27, 2022
@seanpreston seanpreston merged commit ea8bd4d into main Jul 27, 2022
@seanpreston seanpreston deleted the dispatch-event-on-release branch July 27, 2022 16:17
sanders41 pushed a commit that referenced this pull request Sep 22, 2022
* Add release dispatch event action

* Update `CHANGELOG.md`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dev experience Enhancements to the overall DX fidesops-plus Identifies work that is needed by the fidesops plus team github_actions Pull requests that update GitHub Actions code Tech Debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants