Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Added validate MD github action (#823)
* ci: Added validate MD github action Added github action which validates the module descriptor (WIP) * ci: Tweaked action Setup maven step wasn't right * ci: Whoops, need to include service directory * ci: Github action path? * ci: Remember to checkout repository * ci: Use java 17 explicitly? * ci: *sigh* point at right module descriptor file * ci: Tweak name to leave room for future validations maybe * ci: Rename file * ci: Set up settings file as part of action * ci: Testing commenting the failures on the PR * ci: Tweak output name * ci: Testing validator errors to file * ci: On failure grab file contents, make sure it's only the errors (Using grep, bit messy) * ci: Whoopsie in github comment step * ci: Another tweak * ci: Send txt file in curl directly? * ci: Comment out maybe-failing line * ci: Stop using deprecated set-ouput based action * ci: Trying RAW string literal * ci: Trying --data instead of -d * ci: Change back to escaped body, but hopefully send as plain text * ci: Whoopsie * ci: Triple escape file * ci: Remove now unnecessary comment * ci: Syntax is hard * ci: At least log to actions run file * ci: Testing comment * ci: Testing2 * ci: I'm an idiot * ci: Can we get pull request number * ci: Move get PR number after checkout * ci: Send file as raw data? * ci: De-raw the data * ci: JQ json-safety * ci: Save in single string (and hope github comment can parse it out again * ci: Send whole error file as single JSON line * ci: Finally will this send?? * ci: Cleanup output comment * ci: Slightly more cleanup * build: Turn off validate temporarily so we can merge the workflow PR and spin off a neater PR with actual perm changes
- Loading branch information