Skip to content

Commit 9053231

Browse files
authored
Merge pull request #3679 from olehermanse/pr-stale.yml-f20b01
stale.yml: Synced from github.com/cfengine/core
2 parents 58e1e36 + f3c823f commit 9053231

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/stale.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ name: Label and close stale pull requests
44

55
on:
66
schedule:
7-
- cron: '31 19 * * *'
7+
- cron: "31 19 * * *"
88
workflow_dispatch:
99

1010
jobs:
1111
stale:
12-
1312
runs-on: ubuntu-latest
1413
permissions:
1514
pull-requests: write
15+
issues: read
1616

1717
steps:
18-
- uses: actions/stale@v5
19-
with:
20-
repo-token: ${{ secrets.GITHUB_TOKEN }}
21-
stale-pr-message: 'Marking this PR as stale due to inactivity; it will be closed in 7 days.'
22-
stale-pr-label: 'stale'
23-
days-before-stale: 30
24-
days-before-close: 7
25-
close-pr-message: "Closing PR due to inactivity. Feel free to open a new PR if necessary."
18+
- uses: actions/stale@v5
19+
with:
20+
repo-token: ${{ secrets.GITHUB_TOKEN }}
21+
stale-pr-message: "Marking this PR as stale due to inactivity; it will be closed in 7 days."
22+
stale-pr-label: "stale"
23+
days-before-stale: 30
24+
days-before-close: 7
25+
close-pr-message: "Closing PR due to inactivity. Feel free to open a new PR if necessary."

0 commit comments

Comments
 (0)