Commit 3b0594e
Automate closing of stale translation batches (#23581)
* Automatically close stale translation batches
* fix: adjust spacing for the query key
Resolves CI failure: https://github.com/github/docs-internal/runs/4486848450?check_suite_focus=true#step:3:4
* Fix query
* enhancement: add type filter to query
`type` filter restricts results to either issues or pull requests. In this case, we want to close existing stale batches that are _only_ pull requests.
Docs: https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests
* feat: use lee-dohm/close-matching-issues v2.1.0
lee-dohm/close-matching-issues#357 is merged into this release, which gives the action the ability to close matching issues _and_ pull requests.
Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>1 parent abee056 commit 3b0594e
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
169 | 175 | | |
170 | 176 | | |
171 | 177 | | |
| |||
0 commit comments