Skip to content

Commit e09edc0

Browse files
author
Adam Tackett
committed
copy the stalled workflow
Signed-off-by: Adam Tackett <[email protected]>
1 parent 163e461 commit e09edc0

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/stalled.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Label Stalled PRs
2+
on:
3+
schedule:
4+
- cron: '15 15 * * *' # Run every day at 15:15 UTC / 7:15 PST / 8:15 PDT
5+
permissions:
6+
pull-requests: write
7+
jobs:
8+
stale:
9+
if: github.repository == 'opensearch-project/dashboards-observability'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: GitHub App token
13+
id: github_app_token
14+
uses: tibdex/[email protected]
15+
with:
16+
app_id: ${{ secrets.APP_ID }}
17+
private_key: ${{ secrets.APP_PRIVATE_KEY }}
18+
installation_id: 22958780
19+
- name: Stale PRs
20+
uses: actions/stale@v9
21+
with:
22+
repo-token: ${{ steps.github_app_token.outputs.token }}
23+
stale-pr-label: 'stalled'
24+
stale-pr-message: 'This PR is stalled because it has been open for 30 days with no activity.'
25+
days-before-pr-stale: 30
26+
days-before-issue-stale: -1
27+
days-before-pr-close: -1
28+
days-before-issue-close: -1

0 commit comments

Comments
 (0)