forked from mriscoc/Ender3V2S1
-
-
Notifications
You must be signed in to change notification settings - Fork 18
35 lines (25 loc) · 1.07 KB
/
check-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
24
25
26
27
28
29
30
31
32
33
34
35
#
# check-pr.yml
# Close PRs directed at release branches
#
name: Bad PR Target
on:
pull_request_target:
types: [opened]
jobs:
bad_target:
name: Bad PR Target
if: github.repository == 'classicrocker883/MRiscoCProUI' && github.event.pull_request.base.ref != '2025-March'
runs-on: ubuntu-latest
steps:
- uses: superbrothers/close-pull-request@v3.1.2
with:
comment: |
Thanks for your contribution!
Unfortunately, we can only accept **PR**s targeting the **default** branch.
Anything Marlin specific, or `HC32-*` branches should be submitted [here](https://github.com/MarlinFirmware/Marlin/issues/new/choose).
To fix this:
1. Rebase your branch onto `default`.
2. Submit a new **PR** targeting the most recent.
Please redo this **PR** starting with the most recent branch and be careful to target it when resubmitting the **PR**.
See [this page](https://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.