diff options
author | dartcafe <github@dartcafe.de> | 2021-06-19 14:40:24 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-06-19 14:40:24 +0300 |
commit | a7f7c087613d82cdd818212d0ea5c5c3555b5e0d (patch) | |
tree | 063233ec0c12698342d8de4036c9f0a272d9efc4 /.github | |
parent | 839b40a1001879c24e93cdaeb864fb31a997871f (diff) |
changing issue creation workflow
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to '.github')
-rw-r--r-- | .github/ISSUE_TEMPLATE/config.yml | 1 | ||||
-rw-r--r-- | .github/workflows/stale.yml | 44 |
2 files changed, 27 insertions, 18 deletions
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..ac2e8b47 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 53d9cd7d..2bb0a656 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,18 +1,26 @@ -name: Mark stale issues - -on: - schedule: - - cron: "30 1 * * *" - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is marked as stale, because it had no activity in the last 30 days. It will be closed in 5 days.' - stale-issue-label: 'stale' - exempt-issue-labels: 'enhancement,bug,investigate,UX' - days-before-stale: 30 - days-before-close: 5 +name: Mark stale issues
+
+on:
+ schedule:
+ - cron: "30 1 * * *"
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v3
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ stale-issue-message: 'This issue is marked as stale, because it had no activity in the last 30 days. It will be closed in 5 days.'
+ stale-issue-label: 'stale'
+ exempt-issue-labels: 'enhancement,bug,investigate,UX'
+ days-before-stale: 30
+ days-before-close: 5
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ any-of-labels: 'Template missing'
+ stale-issue-message: 'This issue is marked as stale, because it is created without using the issue template and will be closed in 5 days.'
+ stale-issue-label: 'stale'
+ exempt-issue-labels: 'enhancement,bug,investigate,UX'
+ days-before-stale: 1
+ days-before-close: 5
|