-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ga label #102
Merged
+33
−34
Merged
ga label #102
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,62 @@ | ||
[ | ||
{ | ||
"name": "issue or PR: bug", | ||
"name": "bug", | ||
"color": "d73a4a", | ||
"description": "Something isn't working as expected" | ||
}, | ||
{ | ||
"name": "issue or PR: feature", | ||
"name": "feature", | ||
"color": "0052cc", | ||
"description": "New feature implementation" | ||
}, | ||
{ | ||
"name": "issue or PR: enhancement", | ||
"name": "enhancement", | ||
"color": "a2eeef", | ||
"description": "Improvement to existing features" | ||
}, | ||
{ | ||
"name": "issue: question", | ||
"name": "question", | ||
"color": "d876e3", | ||
"description": "Further information is requested" | ||
}, | ||
{ | ||
"name": "status: good first issue", | ||
"name": "documentation", | ||
"color": "0075ca", | ||
"description": "Improvements or additions to documentation" | ||
}, | ||
{ | ||
"name": "refactor", | ||
"color": "fbca04", | ||
"description": "Code refactoring" | ||
}, | ||
{ | ||
"name": "chore", | ||
"color": "bfdadc", | ||
"description": "General maintenance tasks" | ||
}, | ||
{ | ||
"name": "good first issue", | ||
"color": "7057ff", | ||
"description": "Good for newcomers" | ||
}, | ||
{ | ||
"name": "status: help wanted", | ||
"name": "help wanted", | ||
"color": "008672", | ||
"description": "Extra attention is needed" | ||
}, | ||
{ | ||
"name": "close: duplicate", | ||
"name": "duplicate", | ||
"color": "cfd3d7", | ||
"description": "This issue already exists" | ||
"description": "This issue or pull request already exists" | ||
}, | ||
{ | ||
"name": "close: wontfix", | ||
"name": "wontfix", | ||
"color": "ffffff", | ||
"description": "This will not be worked on" | ||
}, | ||
{ | ||
"name": "close: invalid", | ||
"name": "invalid", | ||
"color": "e4e669", | ||
"description": "This doesn't seem right" | ||
}, | ||
{ | ||
"name": "PR: documentation", | ||
"color": "0075ca", | ||
"description": "Improvements or additions to documentation" | ||
}, | ||
{ | ||
"name": "PR: refactor", | ||
"color": "fbca04", | ||
"description": "Code refactoring" | ||
}, | ||
{ | ||
"name": "PR: chore", | ||
"color": "bfdadc", | ||
"description": "General maintenance tasks" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,8 +44,8 @@ jobs: | |
exit 1 | ||
fi | ||
VALID_LABELS="bug feature enhancement question documentation refactor chore" | ||
BRANCH_LABEL=$(echo "$LABELS" | tr ' ' '\n' | grep -m1 -w "$VALID_LABELS") | ||
VALID_LABELS="bug|feature|enhancement|documentation|refactor|chore" | ||
BRANCH_LABEL=$(echo "$LABELS" | tr ' ' '\n' | grep -m1 -E "$VALID_LABELS") | ||
Comment on lines
+47
to
+48
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
- VALID_LABELS="bug|feature|enhancement|documentation|refactor|chore"
- BRANCH_LABEL=$(echo "$LABELS" | tr ' ' '\n' | grep -m1 -E "$VALID_LABELS")
+ VALID_LABELS="bug feature enhancement documentation refactor chore"
+ BRANCH_LABEL=$(echo "$LABELS" | tr ' ' '\n' | grep -m1 -w "$VALID_LABELS") |
||
if [ -z "$BRANCH_LABEL" ]; then | ||
echo "no_valid_label=true" >> $GITHUB_OUTPUT | ||
|
@@ -77,11 +77,10 @@ jobs: | |
- bug: Something isn't working as expected | ||
- feature: New feature implementation | ||
- enhancement: Improvement to existing features | ||
- question: Further information is requested | ||
- documentation: Improvements or additions to documentation | ||
- refactor: Code refactoring | ||
- chore: General maintenance tasks | ||
Adding an appropriate label will help our team quickly understand the nature of the issue and create the correct branch. Once you've added a label, we'll automatically create a branch for this issue. Thank you for your cooperation!" | ||
gh issue comment $ISSUE_NUMBER --body "$COMMENT" | ||
gh issue comment $ISSUE_NUMBER --body "$COMMENT" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question
ラベルは削除されるべきですが、ここではまだ存在しています。.github/workflows/create-branch-on-issue-assign.yml
の変更と矛盾しています。