Skip to content

Commit 1b4bbfb

Browse files
authored
Add 'stale' Github Action (#147)
1 parent 1396e1e commit 1b4bbfb

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
java-package: jdk+fx
1919
- name: Create macOS app
2020
if: matrix.os == 'macOS-latest'
21-
run: ./gradlew createApp
21+
run: gradle createApp
2222
- name: Create Linux tar.gz
2323
if: matrix.os == 'ubuntu-latest'
24-
run: ./gradlew createLinuxTargz
24+
run: gradle createLinuxTargz
2525
- name: Create Windows exe
2626
if: matrix.os == 'windows-latest'
27-
run: ./gradlew createWindowsInstaller
27+
run: gradle createWindowsInstaller

.github/workflows/stale.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v1
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: 'This issue has been automatically marked stale because it has been open 20 days with no activity. If you would like this to remain open, please remove the stale label or comment, otherwise this issue will be closed in 3 days.'
17+
days-before-stale: 20
18+
days-before-close: 3
19+
exempt-issue-labels: 'enhancement'

0 commit comments

Comments
 (0)