aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/cron.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cron.yml')
-rw-r--r--.github/workflows/cron.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml
new file mode 100644
index 00000000000..c87446743fe
--- /dev/null
+++ b/.github/workflows/cron.yml
@@ -0,0 +1,20 @@
+name: 'Scheduled tasks'
+
+on:
+ schedule:
+ - cron: '0 18 * * *'
+
+jobs:
+ lock:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: dessant/lock-threads@v2
+ with:
+ github-token: ${{ github.token }}
+ pr-lock-inactive-days: '90'
+ process-only: 'prs'
+ cycles:
+ runs-on: ubuntu-latest
+ steps:
+ - run: apt-get install -y python3-networkx
+ - run: common/scripts/xbps-cycles.py