forked from forem/forem
-
Notifications
You must be signed in to change notification settings - Fork 0
23 lines (21 loc) · 829 Bytes
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Pull Request
on:
pull_request_target:
types: [opened]
jobs:
pull_request_comment:
name: Notify third-party contributor
if: github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Add comment to PR if coming from third-party fork
uses: mshick/add-pr-comment@v1
with:
message: |
Thank you for opening this PR! We appreciate you!
For all pull requests coming from third-party forks we will need to
review the PR before we can process it through our CI pipelines.
A Forem Team member will review this contribution and get back to
you as soon as possible!
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: 'github-actions[bot]'