From 81cc803ade20f61c9645ff5454486306609e65a0 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <github@thinkyhead.com>
Date: Sun, 5 Jul 2020 15:41:29 -0500
Subject: [PATCH] Update actions on bugfix branch

---
 .github/workflows/close-stale.yml | 22 ----------------------
 .github/workflows/lock-closed.yml | 18 ------------------
 .github/workflows/test-builds.yml |  3 ++-
 3 files changed, 2 insertions(+), 41 deletions(-)
 delete mode 100644 .github/workflows/close-stale.yml
 delete mode 100644 .github/workflows/lock-closed.yml

diff --git a/.github/workflows/close-stale.yml b/.github/workflows/close-stale.yml
deleted file mode 100644
index 65604afa91..0000000000
--- a/.github/workflows/close-stale.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# close-stale.yml
-# Close open issues after a period of inactivity
-#
-
-name: "Close stale issues"
-
-on:
-  schedule:
-  - cron: "0 1 * * *"
-
-jobs:
-  stale:
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/stale@v3
-      with:
-        repo-token: ${{ secrets.GITHUB_TOKEN }}
-        stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label / comment or this will be closed in 5 days.'
-        days-before-stale: 30
-        days-before-close: 5
-        stale-issue-label: 'stale-closing-soon'
diff --git a/.github/workflows/lock-closed.yml b/.github/workflows/lock-closed.yml
deleted file mode 100644
index e3303e8c6e..0000000000
--- a/.github/workflows/lock-closed.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# lock-closed.yml
-# Lock closed issues after a period of inactivity
-#
-
-name: "Lock closed issue"
-
-on:
-  issues:
-    types: [closed]
-
-jobs:
-  lock:
-    runs-on: ubuntu-latest
-    steps:
-    - uses: OSDKDev/lock-issues@v1.1
-      with:
-        repo-token: "${{ secrets.GITHUB_TOKEN }}"
diff --git a/.github/workflows/test-builds.yml b/.github/workflows/test-builds.yml
index 017df44b20..75c6178356 100644
--- a/.github/workflows/test-builds.yml
+++ b/.github/workflows/test-builds.yml
@@ -17,6 +17,8 @@ on:
 
 jobs:
   test_builds:
+    name: Run All Tests
+    if: github.repository == 'MarlinFirmware/Marlin'
 
     runs-on: ubuntu-latest
 
@@ -103,7 +105,6 @@ jobs:
     - name: Run ${{ matrix.test-platform }} Tests
       run: |
         # Inline tests script
-        [[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
         chmod +x buildroot/bin/*
         chmod +x buildroot/tests/*
         export PATH=./buildroot/bin/:./buildroot/tests/:${PATH}