Skip to content

Fix circleci yaml #28427

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

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Fix circleci yaml #28427

merged 1 commit into from
Jun 20, 2024

Conversation

ksunden
Copy link
Member

@ksunden ksunden commented Jun 19, 2024

PR summary

Follow up to #28425 and #28413

YAML is sometimes confusing and puts the ending \n on a multiline string with |, which made the job fail.

I moved the comment, hopefully it doesn't mess with dependabot being able to automatically update it, but the line was still too long with the comment on the same line.

PR checklist

@QuLogic
Copy link
Member

QuLogic commented Jun 19, 2024

Just wondering how this works with dependabot if the version is elsewhere?

@rcomer
Copy link
Member

rcomer commented Jun 19, 2024

We could just increase the max line length to 119...

@ksunden
Copy link
Member Author

ksunden commented Jun 19, 2024

For reference, Dependabot appears to only look at inlined comments following the SHA hash:

https://github.com/dependabot/dependabot-core/blob/b78e6194fb6f8d609a0ded3f0c367962fcd946c6/github_actions/lib/dependabot/github_actions/file_updater.rb#L81

Examples from their tests can be found in:

https://github.com/dependabot/dependabot-core/blob/b78e6194fb6f8d609a0ded3f0c367962fcd946c6/github_actions/spec/fixtures/workflow_files/pinned_sources_version_comments.yml#L7

(Mostly leaving this as a future reference for when this comes up again... who knows if I'll think to find this, but would rather have it if I can)

@rcomer rcomer merged commit c010a36 into matplotlib:main Jun 20, 2024
38 of 41 checks passed
rcomer added a commit to meeseeksmachine/matplotlib that referenced this pull request Jun 20, 2024
@rcomer rcomer added this to the v3.9.1 milestone Jun 20, 2024
@rcomer
Copy link
Member

rcomer commented Jun 20, 2024

Added the backport commit to the existing #28426

rcomer added a commit to meeseeksmachine/matplotlib that referenced this pull request Jun 20, 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.

3 participants