Patch Bad PR action
This commit is contained in:
parent
842dea4bd5
commit
ed7110838e
7
.github/workflows/bad-target.md
vendored
7
.github/workflows/bad-target.md
vendored
@ -1,7 +0,0 @@
|
|||||||
Thanks for your contribution! Unfortunately we can't accept PRs directed at release branches. We make patches to the bugfix branches and only later do we push them out as releases.
|
|
||||||
|
|
||||||
Please redo this PR starting with the `bugfix-2.0.x` branch and be careful to target `bugfix-2.0.x` when resubmitting the PR.
|
|
||||||
|
|
||||||
It may help to set your fork's default branch to `bugfix-2.0.x`.
|
|
||||||
|
|
||||||
See [this page](http://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.
|
|
21
.github/workflows/check-pr.yml
vendored
21
.github/workflows/check-pr.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# comment-pr.yml
|
# check-pr.yml
|
||||||
# Add a comment to any PR directed to a release branch
|
# Close PRs directed at release branches
|
||||||
#
|
#
|
||||||
|
|
||||||
name: PR Bad Target
|
name: PR Bad Target
|
||||||
@ -19,9 +19,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: peter-evans/close-pull@v1
|
||||||
- uses: harupy/comment-on-pr@master
|
with:
|
||||||
env:
|
delete-branch: false
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
comment: >
|
||||||
with:
|
Thanks for your contribution! Unfortunately we can't accept PRs directed at release branches. We make patches to the bugfix branches and only later do we push them out as releases.
|
||||||
filename: bad-target.md
|
|
||||||
|
Please redo this PR starting with the `bugfix-2.0.x` branch and be careful to target `bugfix-2.0.x` when resubmitting the PR.
|
||||||
|
|
||||||
|
It may help to set your fork's default branch to `bugfix-2.0.x`.
|
||||||
|
|
||||||
|
See [this page](http://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.
|
||||||
|
Loading…
Reference in New Issue
Block a user