Skip to content

feat: support optional pull request label creation#345

Merged
ChristophShyper merged 1 commit into
masterfrom
feat/create-labels
Jul 9, 2026
Merged

feat: support optional pull request label creation#345
ChristophShyper merged 1 commit into
masterfrom
feat/create-labels

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

📝 Brief description

feat: support optional pull request label creation

💻 Commits

  • 8017520 - ChristophShyper - 2026-07-09 19:59:42
    feat: support optional pull request label creation
    Add opt-in support for creating missing pull request labels before PR
    creation while leaving existing labels unchanged. Resolve label existence
    through the repository label list so GitHub-supported special characters
    such as / work correctly, deduplicate parsed CSV values, and tolerate
    concurrent label creation races.

    Also validate every boolean input consistently, document the new
    create_missing_labels option and permission requirements, and extend the
    shell test suite to cover label creation flows plus invalid boolean
    input values.

📁 Modified files

README.md | 52 ++---
action.yml | 4 +
entrypoint.sh | 161 +++++++++++++--
tests/unit/test_input_limits_validation.sh | 86 ++++----
tests/unit/test_label_creation.sh (new +x) | 302 +++++++++++++++++++++++++++++
tests/unit/test_pr_create_with_gh.sh | 75 ++++---
6 files changed, 583 insertions(+), 97 deletions(-)

⚠️ Additional information

  • Pushed to a branch with a proper name and provided proper commit message.
  • Provided a clear and concise description of what the issue is.

Check CONTRIBUTING.md and CODE_OF_CONDUCT.md for more information

Add opt-in support for creating missing pull request labels before PR
creation while leaving existing labels unchanged. Resolve label existence
through the repository label list so GitHub-supported special characters
such as / work correctly, deduplicate parsed CSV values, and tolerate
concurrent label creation races.

Also validate every boolean input consistently, document the new
create_missing_labels option and permission requirements, and extend the
shell test suite to cover label creation flows plus invalid boolean
input values.
@ChristophShyper ChristophShyper merged commit 286b584 into master Jul 9, 2026
16 checks passed
@ChristophShyper ChristophShyper deleted the feat/create-labels branch July 9, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant