Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
custom: http://www.thinkyhead.com/donate-to-marlin
github: [thinkyhead]
patreon: thinkyhead
custom: ["http://www.thinkyhead.com/donate-to-marlin"]
18 changes: 18 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Add '@domain/core' label to any change within the 'core' package
enhancement:
- .github

# Add 'test' label to any change to *.spec.js files within the source dir
"C: Motion":
- src/module/motion.*
- src/module/planner.*
- src/module/stepper.*

"C: G-code Parser":
- src/gcode/**

"PR: Configurations":
- config/examples/**

"T: 32-Bit & HAL":
- src/HAL/**
13 changes: 11 additions & 2 deletions .github/workflows/bump-date.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Bump Distribution Date

on:
schedule:
- cron: '0 0 * * *'
- cron: '0 0 * * *'

jobs:
bump_date:
Expand All @@ -22,4 +22,13 @@ jobs:
ref: bugfix-2.0.x

- name: Bump Distribution Date
run: source ./buildroot/bin/bump_date
run: |
# Inline Bump Script
[[ "$GITHUB_ACTOR" == 'MarlinFirmware' ]] || exit 0
DIST=$( date +"%Y-%m-%d" )
eval "sed -E -i 's/(#define +STRING_DISTRIBUTION_DATE) .*$/\1 \"$DIST\"/g' Marlin/src/inc/Version.h" && \
git config user.name "${GITHUB_ACTOR}" && \
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" && \
git add . && \
git commit -m "[cron] Bump distribution date ($DIST)" && \
git push
36 changes: 36 additions & 0 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#
# check-pr.yml
# Automatically close the PR if it's directed to a release branch
#

name: Check PR

on:
pull_request:
branches:
- 1.0.x
- 1.1.x
- 2.0.x

jobs:
check_pr:

runs-on: ubuntu-latest

steps:
- name: Comment on PR
uses: unsplash/comment-on-pr@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
msg: "<p>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.</p> \
<p>It may help to set your fork's default branch to `bugfix-2.0.x`.</p> \
<p>See <a href='http://marlinfw.org/docs/development/getting_started_pull_requests.html' target='_blank'>this page</a> for full instructions.</p>"

- name: Apply Labels
uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
17 changes: 0 additions & 17 deletions buildroot/bin/bump_date

This file was deleted.