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

chore(common): fix the CI for checking if it is a library release #428

Merged
merged 5 commits into from
Oct 17, 2024

Conversation

demetriusfeijoo
Copy link
Contributor

@demetriusfeijoo demetriusfeijoo commented Oct 17, 2024

What?

Changes the condition used on the check-if-releasing-library.yml check to consider the correct title pattern.

Why?

It was failing to check whether the release was in the library or the CLI.

How to test? (optional)

Copy link

vercel bot commented Oct 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plugin-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 1:53pm

@demetriusfeijoo demetriusfeijoo changed the title chore: fix the CI for checking if it is a library release chore(common): fix the CI for checking if it is a library release Oct 17, 2024
@demetriusfeijoo demetriusfeijoo marked this pull request as ready for review October 17, 2024 14:04
@@ -15,7 +15,7 @@ jobs:
uses: jwalton/gh-find-current-pr@v1
- id: validation
run: |
if [[ "${{ steps.PR.outputs.title }}" == "@storyblok/field-plugin@"* ]]; then
if [[ "${{ steps.PR.outputs.title }}" == "chore(lib): release @storyblok/field-plugin@"* ]]; then
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Another option would be:

Suggested change
if [[ "${{ steps.PR.outputs.title }}" == "chore(lib): release @storyblok/field-plugin@"* ]]; then
if [[ "${{ steps.PR.outputs.title }}" == *"@storyblok/field-plugin@"* ]]; then

@demetriusfeijoo demetriusfeijoo merged commit e0c3fdd into main Oct 17, 2024
20 of 21 checks passed
@demetriusfeijoo demetriusfeijoo deleted the chore/ci-release-library-checking branch October 17, 2024 14:46
johannes-lindgren added a commit that referenced this pull request Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants