File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 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/opensearch-spark'
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : GitHub App token
13+ id : github_app_token
14+ uses : tibdex/github-app-token@v2.1.0
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
You can’t perform that action at this time.
0 commit comments