My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

check-pr.yml 923B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # check-pr.yml
  3. # Close PRs directed at release branches
  4. #
  5. name: PR Bad Target
  6. on:
  7. pull_request_target:
  8. types: [opened]
  9. branches:
  10. - 1.0.x
  11. - 1.1.x
  12. - 2.0.x
  13. jobs:
  14. bad_target:
  15. name: PR Bad Target
  16. if: github.repository == 'MarlinFirmware/Marlin'
  17. runs-on: ubuntu-latest
  18. steps:
  19. - uses: superbrothers/close-pull-request@v3
  20. with:
  21. comment: >
  22. 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.
  23. 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.
  24. It may help to set your fork's default branch to `bugfix-2.0.x`.
  25. See [this page](http://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.