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: fix spec update in website workflow #921

Merged
merged 1 commit into from
Apr 4, 2023
Merged

ci: fix spec update in website workflow #921

merged 1 commit into from
Apr 4, 2023

Conversation

derberg
Copy link
Member

@derberg derberg commented Apr 4, 2023

Error

This CI run overwrote spec document from release candidate, in the website.

Reason

The action that we used to check the spec version that should be updated, did not take into consideration pre-releases, and instead of getting from API latest release as 2.6 it fetched the last release candidate

Fix

Upgraded the workflow to use the latest version of the action that we use, that is fixed and fetch latest release, not pre-releases. I'm not using version number but commit as it is the most recommended and secure way to use non official actions that we do not control

@derberg
Copy link
Member Author

derberg commented Apr 4, 2023

@smoya thanks for reporting, you can approve now 😄

@sonarcloud
Copy link

sonarcloud bot commented Apr 4, 2023

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

Copy link
Member

@smoya smoya left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!!!!🙌

@derberg
Copy link
Member Author

derberg commented Apr 4, 2023

/rtm

@asyncapi-bot asyncapi-bot merged commit e5520f3 into asyncapi:master Apr 4, 2023
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 3.0.0-next-major-spec.18 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 3.0.0 🎉

The release is available on GitHub release

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