Skip to content

Commit 1c719d6

Browse files
author
Feanil Patel
committed
build: Creating a missing workflow file `add-remove-label-on-comment.yml`. The .github/workflows/add-remove-label-on-comment.yml workflow is missing or needs an update to stay in sync with the current standard for this workflow as defined in the `.github` repo of the `openedx` GitHub org.
1 parent dc7d2fa commit 1c719d6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This workflow runs when a comment is made on the ticket
2+
# If the comment starts with "label: " it tries to apply
3+
# the label indicated in rest of comment.
4+
# If the comment starts with "remove label: ", it tries
5+
# to remove the indicated label.
6+
# Note: Labels are allowed to have spaces and this script does
7+
# not parse spaces (as often a space is legitimate), so the command
8+
# "label: really long lots of words label" will apply the
9+
# label "really long lots of words label"
10+
11+
name: Allows for the adding and removing of labels via comment
12+
13+
on:
14+
issue_comment:
15+
types: [created]
16+
17+
jobs:
18+
add_remove_labels:
19+
uses: openedx/.github/.github/workflows/add-remove-label-on-comment.yml@master
20+

0 commit comments

Comments
 (0)