Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 7 commits into from
May 25, 2022

Conversation

eamon0989
Copy link
Member

@eamon0989 eamon0989 commented May 25, 2022

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

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@eamon0989 eamon0989 added the enhancement New feature or request label May 25, 2022
@eamon0989 eamon0989 marked this pull request as ready for review May 25, 2022 09:17
@eamon0989 eamon0989 requested a review from getlarge May 25, 2022 09:17
@sonarcloud
Copy link

sonarcloud bot commented May 25, 2022

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

@eamon0989 eamon0989 merged commit 62a186c into main May 25, 2022
@getlarge getlarge deleted the repo-sync branch May 25, 2022 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: automate minified js syncronization to CoA-schemas and EM10168-schemas
2 participants