Refactor workflows - user reusable workflows (#2504)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
25
.github/workflows/stale.yaml
vendored
Normal file
25
.github/workflows/stale.yaml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Mark & close stale issues
|
||||
|
||||
on:
|
||||
# enable running the workflow manually
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
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'
|
||||
Reference in New Issue
Block a user