forked from botlabs-gg/yagpdb
-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (27 loc) · 1.07 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
name: Comment PR
on:
pull_request:
branches:
- master
jobs:
comment_pr:
name: Comment PR to master
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Comment
if: ${{ github.actor != 'ashishjh-bst' || github.actor != github.repository_owner }}
uses: thollander/actions-comment-pull-request@v1
with:
message: |
Hey @${{ github.actor }}! Thank you for your pull request.
However, please do not open pull requests against `master`, as stated in
[CONTRIBUTING.md](../../CONTRIBUTING.md):
> [...] make a PR to the dev branch (botlabs-gg/yagpdb/dev)
To change the base branch, edit the this pull request and select the new base.
To prevent conflicts, either `git merge upstream/dev` to your local branch, or
rebase your local branch onto dev, like so: `git rebase upstream/dev`.
Afterwards, (force) push your branch, and you're set!
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}