Bumps [thollander/actions-comment-pull-request](https://github.com/thollander/actions-comment-pull-request) from 1 to 2. - [Release notes](https://github.com/thollander/actions-comment-pull-request/releases) - [Commits](https://github.com/thollander/actions-comment-pull-request/compare/v1...v2) --- updated-dependencies: - dependency-name: thollander/actions-comment-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
35 lines
1.5 KiB
YAML
35 lines
1.5 KiB
YAML
# This workflow detects PRs that make changes to lms/templates/dashboard.html
|
|
# and only lms/templates/dashboard.html. This is the file that users are
|
|
# guided through changing in the Open edX tutorial:
|
|
# https://docs.openedx.org/en/latest/developers/quickstarts/first_openedx_pr.html#exercise-update-the-learner-dashboard
|
|
|
|
# If this is the only file changed in the PR, we comment on the PR congratulating
|
|
# the user and letting others know that this is not a community PR in need of
|
|
# review. CODEOWNERS will tag a triaging team to provide reviews & ultimately
|
|
# close the PR.
|
|
|
|
name: Check for Tutorial PR
|
|
description: Welcome contributors making their first PR from the tutorial
|
|
on:
|
|
pull_request:
|
|
types: [opened]
|
|
paths:
|
|
- 'lms/templates/dashboard.html'
|
|
|
|
jobs:
|
|
# Provide helpful bot comment
|
|
comment:
|
|
runs-on: ubuntu-latest
|
|
name: provide helpful bot comment
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Comment PR
|
|
uses: thollander/actions-comment-pull-request@v2
|
|
with:
|
|
message: |
|
|
Thank you for your pull request! Congratulations on completing the Open edX tutorial! A team member will be by to take a look shortly.
|
|
To those watching community pull requests: No need to worry about this one, a tCRIL team member will be taking care of it.
|
|
For this PR's author: If this is a PR that is NOT coming from the Open edX tutorial, please comment and let us know to disregard this message.
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |