forked from MarlinFirmware/Marlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bugfix-2.1.x' into mike-config
* bugfix-2.1.x: (77 commits) [cron] Bump distribution date (2023-12-14) ✨ MARKFORGED_INVERSE (MarlinFirmware#26516) [cron] Bump distribution date (2023-12-13) ✨ EDITABLE_DISPLAY_TIMEOUT (MarlinFirmware#26517) [cron] Bump distribution date (2023-12-12) 🐛 Fix MKS TS35 with BTT SKR 1.3/1.4 (MarlinFirmware#26176) ✨ SERIAL_DMA (for some STM32Fx) (MarlinFirmware#26328) [cron] Bump distribution date (2023-12-10) 🚸 Adjust Progress / Completion (MarlinFirmware#26466) 🚸 Encoder improvements (MarlinFirmware#26501) 🩹 Fix UBL debug output [cron] Bump distribution date (2023-12-09) ⚡️ Use strlcpy with buffer size (MarlinFirmware#26513) [cron] Bump distribution date (2023-12-08) 🔨 Use PIO versioning (including HC32) (MarlinFirmware#26512) [cron] Bump distribution date (2023-12-06) ✨ Voxelab Aquila N32 (via Maple) (MarlinFirmware#26470) 🐛 Fix tool-change E prime (MarlinFirmware#26494) [cron] Bump distribution date (2023-12-05) 🐛 Fix thermistor 14 & 60 constexprness (MarlinFirmware#26499) ... # Conflicts: # .github/workflows/check-pr.yml # .github/workflows/clean-closed.yml
- Loading branch information
Showing
263 changed files
with
8,792 additions
and
2,145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# | ||
# auto-label.yml | ||
# - Find all open issues without a label and a title containing "[BUG]". | ||
# - Apply the label "Bug: Potential ?" to these issues. | ||
# | ||
|
||
name: Label Old Bugs | ||
|
||
on: | ||
schedule: | ||
- cron: "30 8 * * *" | ||
|
||
jobs: | ||
autolabel: | ||
name: Auto Label | ||
if: github.repository == 'MarlinFirmware/Marlin' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Auto Label for [BUG] | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
// Get all open issues in this repository | ||
const issueList = await github.rest.issues.listForRepo({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
state: 'open' | ||
}); | ||
// Filter issues without labels that have a title containing '[BUG]'. | ||
const matchingIssues = issueList.data.filter( | ||
issue => issue.title.includes('[BUG]') && issue.labels.length === 0 | ||
); | ||
// Process the first 50 | ||
for (const issue of matchingIssues.slice(0, 50)) { | ||
await github.rest.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: issue.number, | ||
labels: ['Bug: Potential ?'] | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# check-pr.yml | ||
# Close PRs directed at release branches | ||
# | ||
|
||
name: PR Bad Target | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened] | ||
branches: | ||
- 1.0.x | ||
- 1.1.x | ||
- 2.0.x | ||
|
||
jobs: | ||
bad_target: | ||
name: PR Bad Target | ||
if: github.repository == 'MarlinFirmware/Marlin' | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: superbrothers/close-pull-request@v3 | ||
with: | ||
comment: > | ||
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.1.x` branch and be careful to target `bugfix-2.1.x` when resubmitting the PR. Patches may also target `bugfix-2.0.x` if they are specifically for 2.0.9.x. | ||
It may help to set your fork's default branch to `bugfix-2.1.x`. | ||
See [this page](https://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# | ||
# clean-closed.yml | ||
# Remove obsolete labels when an Issue or PR is closed | ||
# | ||
|
||
name: Clean Closed | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
issues: | ||
types: [closed] | ||
|
||
jobs: | ||
remove_label: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
label: | ||
- "S: Don't Merge" | ||
- "S: Hold for 2.1" | ||
- "S: Please Merge" | ||
- "S: Please Test" | ||
- "help wanted" | ||
- "Bug: Potential ?" | ||
- "Needs: Discussion" | ||
- "Needs: Documentation" | ||
- "Needs: More Data" | ||
- "Needs: Patch" | ||
- "Needs: Testing" | ||
- "Needs: Work" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Remove Labels | ||
uses: actions-ecosystem/action-remove-labels@v1 | ||
with: | ||
github_token: ${{ github.token }} | ||
labels: ${{ matrix.label }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.