Skip to content

Conversation

@per1234
Copy link
Contributor

@per1234 per1234 commented Sep 16, 2025

No description provided.

The "Check Prettier Formatting" workflow is configured to only run when relevant files are modified by the use of path
filters. Due to Prettier being a general purpose formatting tool with coverage for an array of languages, and due to the
fact that multiple file extensions may be used for files of a given language, the paths filter is extensive. It is based
on the code Prettier uses to identify files. In order to facilitate maintenance of the workflow, a comment was added to
document the source upon which the paths filter is based.

The paths filter must be defined redundantly for both the `push` and `pull_request` event triggers. The decision was
made to only add the comment to one instance of the code. Somehow it ended up being added to the second instance, where
the maintainer is less likely to see it. It is hereby moved to the first instance.
These comments ensure the "upstream" source of the asset is known, in order to facilitate syncing changes.
@per1234 per1234 self-assigned this Sep 16, 2025
@per1234 per1234 added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Sep 16, 2025
@per1234 per1234 merged commit 5388744 into arduino:main Sep 16, 2025
51 checks passed
@per1234 per1234 deleted the sync branch September 16, 2025 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant