Переглянути джерело

Update actions on bugfix branch

Scott Lahteine 4 роки тому
джерело
коміт
81cc803ade

+ 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}

Завантаження…
Відмінити
Зберегти