Skip to content

ci: add action to sync v3 spec-json-schema updates with website#575

Merged
asyncapi-bot merged 5 commits intoasyncapi:masterfrom
AceTheCreator:schyma-spec-json-schemas
Apr 15, 2025
Merged

ci: add action to sync v3 spec-json-schema updates with website#575
asyncapi-bot merged 5 commits intoasyncapi:masterfrom
AceTheCreator:schyma-spec-json-schemas

Conversation

@AceTheCreator
Copy link
Member

With the integration of the Schyma package, we can now visualize the spec-json-schema file on the AsyncAPI specification explorer for educational purposes. This action ensures that the website automatically receives updated changes whenever the v3 JSON schema file in this repository is modified.

cc @derberg

push:
branches:
- master
- automate-spec-update-to-website
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove please

cp schemas/3.0.0-without-\$id.json website/config/3.0.0.json

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for security reasons please never use versions in case of actions that are not coming from GH

reference to sha of the release like so: https://github.com/asyncapi/spec-json-schemas/blob/master/.github/workflows/if-nodejs-version-bump.yml#L52

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, what are the security implication of not using the sha of the release?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sonarqubecloud
Copy link

@derberg
Copy link
Member

derberg commented Apr 15, 2025

/rtm

@asyncapi-bot asyncapi-bot merged commit 34106e7 into asyncapi:master Apr 15, 2025
11 checks passed
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 6.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants