Skip to content

Commit cc082a5

Browse files
authored
Prevent stale action from applying to issues (#4553)
The stale action recently started applying to issues after we updated to the latest version. The solution in this PR seems to have worked in semantic conventions repo: open-telemetry/semantic-conventions#771
1 parent 62d753e commit cc082a5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/stale-pr.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,9 @@ jobs:
1313
stale-pr-message: 'This PR was marked stale due to lack of activity. It will be closed in 7 days.'
1414
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.'
1515
exempt-pr-labels: 'release:after-ga'
16-
days-before-stale: 7
17-
days-before-close: 7
16+
# opt out of defaults to avoid marking issues as stale
17+
days-before-stale: -1
18+
days-before-close: -1
19+
# overrides the above only for pull requests
20+
days-before-pr-stale: 7
21+
days-before-pr-close: 7

0 commit comments

Comments
 (0)