Simplifying Question:
How do I make a github action that will take a specific checkstatus for a commit (pull) and update the commit status of that pull?
(These being two different APIs).
--
ADDITIONAL INFO IF YOU WOULD LIKE:
--
Situation:
- Sites building on amplify.
- Code in Repo in Github.
- Would like to use NetlifyCMS as CMS.
- Netlify CMS looks for github commit status on PRs for previewlinks (I'm pretty sure at least: https://github.com/netlify/netlify-cms/issues/5161 <- not my thread but good reference I believe.
- Amplify does it's work on the github checks API.
And therefore preview links do not work.
Problem:
How do I get this pieces glued together?
Possible solutions:
- A Github Action that takes the checks API status and updates the commit status. or
- Amplify set-up to update commit stats on PR as well or
- Netlify CMS changed to check github checks <- I believe this is the worst idea of the 3.
Request for guidance:
If 1 or 2 are valid solutions, could someone review and give any experience/guidance/working basics I Can start with?