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

fix(circleci): correctly get a Orb name when a line has an inline comment #27736

Merged
merged 2 commits into from Mar 6, 2024

Conversation

y-yagi
Copy link
Contributor

@y-yagi y-yagi commented Mar 6, 2024

Changes

Correctly get an Orb name when a line has an inline comment.

Context

YAML allows us to write an inline comment like the following.

awsecr: circleci/aws-ecr   # https://circleci.com/developer/orbs/orb/circleci/aws-ecr

But Renovate can't parse this line now. Renovate treats an inline comment as a part of an Orb name. This PR fixes that and removes a comment from an Orb name.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

rarkins
rarkins previously approved these changes Mar 6, 2024
@rarkins rarkins enabled auto-merge March 6, 2024 05:31
auto-merge was automatically disabled March 6, 2024 05:55

Head branch was pushed to by a user without write access

@y-yagi
Copy link
Contributor Author

y-yagi commented Mar 6, 2024

Sorry, I missed the lint issue. https://github.com/renovatebot/renovate/actions/runs/8165249110/job/22327783865?pr=27736

I have fixed that by f280b08

@rarkins rarkins enabled auto-merge March 6, 2024 06:00
@rarkins rarkins added this pull request to the merge queue Mar 6, 2024
Merged via the queue into renovatebot:main with commit 66db519 Mar 6, 2024
37 checks passed
@y-yagi y-yagi deleted the fix-circleci-inline-comment branch March 6, 2024 06:43
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 37.229.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants