Skip to content

Commit 07eb589

Browse files
author
Feanil Patel
authored
Merge pull request #271 from openedx/repo_checks/ensure_workflows
Update standard workflow files.
2 parents b710800 + 3b8b180 commit 07eb589

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

.github/workflows/add-depr-ticket-to-depr-board.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
secrets:
1717
GITHUB_APP_ID: ${{ secrets.GRAPHQL_AUTH_APP_ID }}
1818
GITHUB_APP_PRIVATE_KEY: ${{ secrets.GRAPHQL_AUTH_APP_PEM }}
19-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_ISSUE_BOT_TOKEN }}
19+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_ISSUE_BOT_TOKEN }}
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+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This workflow runs when a comment is made on the ticket
2+
# If the comment starts with "assign me" it assigns the author to the
3+
# ticket (case insensitive)
4+
5+
name: Assign comment author to ticket if they say "assign me"
6+
on:
7+
issue_comment:
8+
types: [created]
9+
10+
jobs:
11+
self_assign_by_comment:
12+
uses: openedx/.github/.github/workflows/self-assign-issue.yml@master

0 commit comments

Comments
 (0)