address review comments
Signed-off-by: Suraj Nath <9503187+electron0zero@users.noreply.github.com>
This commit is contained in:
parent
a3b36c1225
commit
74c1af3fd5
|
@ -2,18 +2,16 @@ name: Stale Check
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '16 22 * * *'
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
# only run on repos in prometheus org, and skip this workflow in forks.
|
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
|
||||||
if: github.repository_owner == 'prometheus'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# pin to SHA of v9.0.0: https://github.com/actions/stale/releases/tag/v9.0.0
|
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
|
||||||
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
|
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# opt out of defaults to avoid marking issues as stale and closing them
|
# opt out of defaults to avoid marking issues as stale and closing them
|
||||||
|
|
Loading…
Reference in New Issue