From bbfec43d316eb861308b311e5c8a737a85089ba4 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Thu, 14 Jan 2021 10:26:30 +0100 Subject: [PATCH] Delete unused workflows --- .github/workflows/bump-date.yml | 39 --------------------------------- .github/workflows/check-pr.yml | 31 -------------------------- 2 files changed, 70 deletions(-) delete mode 100755 .github/workflows/bump-date.yml delete mode 100755 .github/workflows/check-pr.yml diff --git a/.github/workflows/bump-date.yml b/.github/workflows/bump-date.yml deleted file mode 100755 index 17c77239..00000000 --- a/.github/workflows/bump-date.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml deleted file mode 100755 index 7f215e38..00000000 --- a/.github/workflows/check-pr.yml +++ /dev/null @@ -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.