Skip to content

Commit

Permalink
Update - check-pr.yml Bad PR Target
Browse files Browse the repository at this point in the history
  • Loading branch information
classicrocker883 committed Jan 8, 2025
1 parent 8a17227 commit 4a2650e
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,33 @@
# Close PRs directed at release branches
#

name: PR Bad Target
name: Bad PR Target

on:
pull_request_target:
types: [opened]
branches:
- 2024-*
- HC32-*

jobs:
bad_target:
name: PR Bad Target
if: github.repository == 'classicrocker883/MRiscoCProUI'
name: Bad PR Target
if: github.repository == 'classicrocker883/MRiscoCProUI' && github.event.pull_request.base.ref != '2025-January'

runs-on: ubuntu-latest

steps:
- uses: superbrothers/[email protected]
with:
comment: >
Thanks for your contribution!
- uses: superbrothers/[email protected]
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.
Unfortunately, we can only accept **PR**s targeting the **default** branch.
Please redo this **PR** starting with the most recent branch and be careful to target it when resubmitting the **PR**.
Anything Marlin specific, or `HC32-*` branches should be submitted [here](https://github.com/MarlinFirmware/Marlin/issues/new/choose).
See [this page](https://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.
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.

0 comments on commit 4a2650e

Please sign in to comment.