Delete unused workflows
This commit is contained in:
39
.github/workflows/bump-date.yml
vendored
39
.github/workflows/bump-date.yml
vendored
@@ -1,39 +0,0 @@
|
|||||||
#
|
|
||||||
# bump-date.yml
|
|
||||||
# Bump the distribution date
|
|
||||||
#
|
|
||||||
|
|
||||||
name: Bump Distribution Date
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- config/**
|
|
||||||
- data/**
|
|
||||||
- docs/**
|
|
||||||
- '**/*.md'
|
|
||||||
#schedule:
|
|
||||||
# - cron: '0 0 * * *'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
bump_date:
|
|
||||||
name: Bump Distribution Date
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
|
|
||||||
- name: Bump Distribution Date
|
|
||||||
run: |
|
|
||||||
# Inline Bump Script
|
|
||||||
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
|
|
31
.github/workflows/check-pr.yml
vendored
31
.github/workflows/check-pr.yml
vendored
@@ -1,31 +0,0 @@
|
|||||||
#
|
|
||||||
# check-pr.yml
|
|
||||||
# Close PRs directed at release branches
|
|
||||||
#
|
|
||||||
|
|
||||||
name: PR Bad Target
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- 2.0.x
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
bad_target:
|
|
||||||
name: PR Bad Target
|
|
||||||
if: github.repository == 'knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S'
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: peter-evans/close-pull@v1
|
|
||||||
with:
|
|
||||||
delete-branch: false
|
|
||||||
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.0.x` branch and be careful to target `bugfix-2.0.x` when resubmitting the PR.
|
|
||||||
|
|
||||||
It may help to set your fork's default branch to `bugfix-2.0.x`.
|
|
||||||
|
|
||||||
See [this page](http://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.
|
|
Reference in New Issue
Block a user