-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from openedx/repo_checks/ensure_workflows
Update standard workflow files.
- Loading branch information
Showing
4 changed files
with
61 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Run the workflow that adds new tickets that are either: | ||
# - labelled "DEPR" | ||
# - title starts with "[DEPR]" | ||
# - body starts with "Proposal Date" (this is the first template field) | ||
# to the org-wide DEPR project board | ||
|
||
name: Add newly created DEPR issues to the DEPR project board | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
routeissue: | ||
uses: openedx/.github/.github/workflows/add-depr-ticket-to-depr-board.yml@master | ||
secrets: | ||
GITHUB_APP_ID: ${{ secrets.GRAPHQL_AUTH_APP_ID }} | ||
GITHUB_APP_PRIVATE_KEY: ${{ secrets.GRAPHQL_AUTH_APP_PEM }} | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_ISSUE_BOT_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This workflow runs when a comment is made on the ticket | ||
# If the comment starts with "label: " it tries to apply | ||
# the label indicated in rest of comment. | ||
# If the comment starts with "remove label: ", it tries | ||
# to remove the indicated label. | ||
# Note: Labels are allowed to have spaces and this script does | ||
# not parse spaces (as often a space is legitimate), so the command | ||
# "label: really long lots of words label" will apply the | ||
# label "really long lots of words label" | ||
|
||
name: Allows for the adding and removing of labels via comment | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
add_remove_labels: | ||
uses: openedx/.github/.github/workflows/add-remove-label-on-comment.yml@master | ||
|
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Run commitlint on the commit messages in a pull request. | ||
|
||
name: Lint Commit Messages | ||
|
||
on: | ||
- pull_request | ||
|
||
jobs: | ||
commitlint: | ||
uses: openedx/.github/.github/workflows/commitlint.yml@master |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This workflow runs when a comment is made on the ticket | ||
# If the comment starts with "assign me" it assigns the author to the | ||
# ticket (case insensitive) | ||
|
||
name: Assign comment author to ticket if they say "assign me" | ||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
self_assign_by_comment: | ||
uses: openedx/.github/.github/workflows/self-assign-issue.yml@master |