mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-23 00:28:48 +08:00
a0c0d366af
This is needed so that actions/stale@v9 can delete caches. Without this permisson, the cache is never deleted leading to some issues never being checked again.
19 lines
597 B
YAML
19 lines
597 B
YAML
name: Close stale flaky issues
|
|
on:
|
|
schedule:
|
|
- cron: "30 1 * * *"
|
|
jobs:
|
|
close:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: write
|
|
issues: write
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
only-labels: "Z-Flaky-Test"
|
|
days-before-stale: 14
|
|
days-before-close: 0
|
|
close-issue-message: "This flaky test issue has not been updated in 14 days. It is being closed as presumed resolved."
|
|
exempt-issue-labels: "Z-Flaky-Test-Disabled"
|