Преглед на файлове

Update actions on bugfix branch

Scott Lahteine преди 3 години
родител
ревизия
81cc803ade
променени са 3 файла, в които са добавени 2 реда и са изтрити 41 реда
  1. 0
    22
      .github/workflows/close-stale.yml
  2. 0
    18
      .github/workflows/lock-closed.yml
  3. 2
    1
      .github/workflows/test-builds.yml

+ 0
- 22
.github/workflows/close-stale.yml Целия файл

@@ -1,22 +0,0 @@
1
-#
2
-# close-stale.yml
3
-# Close open issues after a period of inactivity
4
-#
5
-
6
-name: "Close stale issues"
7
-
8
-on:
9
-  schedule:
10
-  - cron: "0 1 * * *"
11
-
12
-jobs:
13
-  stale:
14
-    runs-on: ubuntu-latest
15
-    steps:
16
-    - uses: actions/stale@v3
17
-      with:
18
-        repo-token: ${{ secrets.GITHUB_TOKEN }}
19
-        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.'
20
-        days-before-stale: 30
21
-        days-before-close: 5
22
-        stale-issue-label: 'stale-closing-soon'

+ 0
- 18
.github/workflows/lock-closed.yml Целия файл

@@ -1,18 +0,0 @@
1
-#
2
-# lock-closed.yml
3
-# Lock closed issues after a period of inactivity
4
-#
5
-
6
-name: "Lock closed issue"
7
-
8
-on:
9
-  issues:
10
-    types: [closed]
11
-
12
-jobs:
13
-  lock:
14
-    runs-on: ubuntu-latest
15
-    steps:
16
-    - uses: OSDKDev/lock-issues@v1.1
17
-      with:
18
-        repo-token: "${{ secrets.GITHUB_TOKEN }}"

+ 2
- 1
.github/workflows/test-builds.yml Целия файл

@@ -17,6 +17,8 @@ on:
17 17
 
18 18
 jobs:
19 19
   test_builds:
20
+    name: Run All Tests
21
+    if: github.repository == 'MarlinFirmware/Marlin'
20 22
 
21 23
     runs-on: ubuntu-latest
22 24
 
@@ -103,7 +105,6 @@ jobs:
103 105
     - name: Run ${{ matrix.test-platform }} Tests
104 106
       run: |
105 107
         # Inline tests script
106
-        [[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
107 108
         chmod +x buildroot/bin/*
108 109
         chmod +x buildroot/tests/*
109 110
         export PATH=./buildroot/bin/:./buildroot/tests/:${PATH}

Loading…
Отказ
Запис