Add Github actions stale and first-interaction workflow (#1054)

* Add Github actions workflow

Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io>

* Change secret name

Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io>
This commit is contained in:
Florian Ruschbaschan
2021-01-11 15:50:06 +01:00
committed by GitHub
parent 6df3a04f51
commit 2191db40d7
4 changed files with 37 additions and 13 deletions

23
.github/workflows/stale.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Mark & close stale issues
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.PAT_SECRET }}
days-before-stale: -1
days-before-close: 15
stale-issue-label: 'awaiting'
close-issue-message: |-
There has been no response from the original author so I closed this issue.
Please reach out if you have or find the answers we need so that we can investigate further.
only-labels: 'awaiting'
skip-stale-issue-message: 'true'
skip-stale-pr-message: 'true'