Skip to content

Conversation

@lukebowerman
Copy link

Add label_map input that provides YAML syntax for mapping task types to custom label names, as an alternative to the JSON-based custom_labels. The two options are mutually exclusive - using both will fail with an error message.

Add two new features for scope label handling:

  • add_scope_label_only_existing: Only apply scope labels if they already
    exist in the repository (do not create new labels)
  • add_scope_label_map: YAML map to customize scope-to-label mapping,
    allowing scopes like "vis" to be labeled as "visualization"

lukebowerman and others added 3 commits October 13, 2025 10:12
…R titles

Added a new input parameter 'fail_on_non_conventional' that allows users to opt out of job failure when PR titles don't follow conventional commit format. When set to 'false', the action logs warnings instead of failing, and skips label operations since there's no valid commit type to work with.

Changes:
- Added fail_on_non_conventional input to action.yaml (default: 'true')
- Updated checkConventionalCommits(), checkScope(), and checkTicketNumber() to respect the new option
- Modified run() to skip label operations when validation fails but fail_on_non_conventional is false
- Added comprehensive test coverage for the new option
- All 30 tests passing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Add two new features for scope label handling:
- add_scope_label_only_existing: Only apply scope labels if they already
  exist in the repository (do not create new labels)
- add_scope_label_map: YAML map to customize scope-to-label mapping,
  allowing scopes like "vis" to be labeled as "visualization"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Add label_map input that provides YAML syntax for mapping task types to
custom label names, as an alternative to the JSON-based custom_labels.
The two options are mutually exclusive - using both will fail with an
error message.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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.

1 participant