Skip to content

Add "Format on Label" reusable workflow + template - #6

Merged
allejo merged 5 commits into
mainfrom
feat/format-on-label
Jul 13, 2026
Merged

Add "Format on Label" reusable workflow + template#6
allejo merged 5 commits into
mainfrom
feat/format-on-label

Conversation

@allejo

@allejo allejo commented Jul 13, 2026

Copy link
Copy Markdown
Member

New reusable GitHub Actions workflow and supporting documentation to automate code formatting when a specific label is applied to pull requests. It also adds a workflow template and documentation to help users integrate and configure this workflow in their repositories.

  • Added .github/workflows/format-on-label.yml, a reusable workflow that runs a formatting script when a specified label (default: needs formatting) is applied to a pull request. It supports dry-run mode, configurable Node.js version, npm registry authentication, and automatically removes the label after formatting.
  • Added workflow-templates/format-on-label.yml as a workflow template for easy reuse, referencing the new reusable workflow

This comment was marked as outdated.

This comment was marked as outdated.

@allejo
allejo merged commit 88ebb08 into main Jul 13, 2026
1 check passed
@allejo
allejo deleted the feat/format-on-label branch July 13, 2026 21:59
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