Skip to content

fix: provide correct path for .pre-commit-config-ansible.yaml in autoupdate, and make autoupdate quaterly#66

Merged
paulsohn merged 4 commits intomainfrom
sohn/pre-commit-ansible-autoupdate-correct-path
Feb 17, 2026
Merged

fix: provide correct path for .pre-commit-config-ansible.yaml in autoupdate, and make autoupdate quaterly#66
paulsohn merged 4 commits intomainfrom
sohn/pre-commit-ansible-autoupdate-correct-path

Conversation

@paulsohn
Copy link
Contributor

@paulsohn paulsohn commented Feb 16, 2026

Description

  1. https://github.com/autowarefoundation/sync-file-templates/actions/workflows/pre-commit-ansible-autoupdate.yaml fails because it finds .pre-commit-config-ansible.yaml (as from directly pasted from autoware repo), while the config file to update is sources/.pre-commit-config-ansible.yaml.

  2. make autoupdate quaterly for pre-commit-ansible.

How was this PR tested?

Provide correct path: https://github.com/autowarefoundation/sync-file-templates/actions/runs/22046816805 (#65 generated)

quaterly autoupdate: None. I just copy-pasted cron from other autoupdates.

Notes for reviewers

None.

Effects on system behavior

None.

@paulsohn paulsohn requested a review from xmfcx February 16, 2026 01:15
@github-actions
Copy link

github-actions bot commented Feb 16, 2026

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp>
@paulsohn paulsohn force-pushed the sohn/pre-commit-ansible-autoupdate-correct-path branch from c8f3eaf to b6c473e Compare February 16, 2026 01:15
Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp>
@paulsohn paulsohn force-pushed the sohn/pre-commit-ansible-autoupdate-correct-path branch from b934ef7 to c21a44c Compare February 16, 2026 01:17
@paulsohn paulsohn changed the title fix: provide correct path for .pre-commit-config-ansible.yaml in autoupdate fix: provide correct path for .pre-commit-config-ansible.yaml in autoupdate, and make autoupdate quaterly Feb 16, 2026
@paulsohn
Copy link
Contributor Author

Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp>
@paulsohn paulsohn force-pushed the sohn/pre-commit-ansible-autoupdate-correct-path branch from 011e31e to f8f32e9 Compare February 17, 2026 09:27
Comment on lines +5 to +9
ci:
autofix_commit_msg: "style(pre-commit-ansible): autofix"
autoupdate_schedule: quarterly
autoupdate_commit_msg: "ci(pre-commit-ansible): quarterly autoupdate"

Copy link
Contributor

@xmfcx xmfcx Feb 17, 2026

Choose a reason for hiding this comment

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

This part is unnecessary because this file is not seen by the https://github.com/apps/pre-commit-ci bot. It only sees and attempts to update the default config file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

pre-commit-optional also has this. Should I remove it from pre-commit-optional as well?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sure

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll only handle this file. If you think ci field is unnecessary for pre-commit-optional, then you can make another PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure

I was not aware of this reply :(

Copy link
Contributor

Choose a reason for hiding this comment

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

It's alright, not a high priority anyways

Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp>
@paulsohn paulsohn force-pushed the sohn/pre-commit-ansible-autoupdate-correct-path branch from 8f57841 to 8de8946 Compare February 17, 2026 10:49
@paulsohn paulsohn merged commit a45560d into main Feb 17, 2026
5 checks passed
@paulsohn paulsohn deleted the sohn/pre-commit-ansible-autoupdate-correct-path branch February 17, 2026 10:54
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