s1seven / schema-tools

Tools to create, validate and render certificates using Material Identity JSON schemas
https://materialidentity.org/
Apache License 2.0
1 stars 1 forks source link

ci: automatically sync generateContents.js to CoA-schemas and EN10168-schemas #147

Closed eamon0989 closed 2 years ago

eamon0989 commented 2 years ago

Description

When the PDF generator is updated currently, the minified code that is generated needs to be manually copy-pasted over to the CoA-schemas and EM10168-schemas repositories. This PR automates both of those tasks using https://github.com/Redocly/repo-file-sync-action. It watches the generateContent.js file in the /dist folders and when those files are updated and pushed to main, it automatically opens PRs on the target repositories with the updated code.

Fixes #146

Type of change

Checklist:

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information