Skip to content

Fix circleci yaml - #28427

Merged
rcomer merged 1 commit into
matplotlib:mainfrom
ksunden:circle_yaml
Jun 20, 2024
Merged

rcomer merged 1 commit into
matplotlib:mainfrom
ksunden:circle_yaml

Conversation

@ksunden

@ksunden ksunden commented Jun 19, 2024

Copy link
Copy Markdown
Member

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

Comment thread .github/workflows/circleci.yml Resolved
@QuLogic

QuLogic commented Jun 19, 2024

Copy link
Copy Markdown
Member

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

@rcomer

rcomer commented Jun 19, 2024

Copy link
Copy Markdown
Member

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

@ksunden

ksunden commented Jun 19, 2024

Copy link
Copy Markdown
Member Author

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
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

rcomer commented Jun 20, 2024

Copy link
Copy Markdown
Member

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