We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1b00fe commit adbce06Copy full SHA for adbce06
.github/workflows/lock.yaml
@@ -0,0 +1,28 @@
1
+name: lock-threads
2
+on:
3
+ # run daily
4
+ schedule:
5
+ - cron: '0 0 * * *'
6
+
7
+ # allow manual trigger
8
+ workflow_dispatch:
9
10
+permissions:
11
+ issues: write
12
+ pull-requests: write
13
14
+# Ensure only one lock action can run at a time
15
+concurrency:
16
+ group: lock
17
18
+jobs:
19
+ lock:
20
+ if: github.repository == 'swisspost/terraform-grafana-prometheus-alerts'
21
+ runs-on: ubuntu-24.04
22
+ steps:
23
+ - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
24
+ with:
25
+ github-token: ${{ github.token }}
26
+ issue-inactive-days: 30
27
+ pr-inactive-days: 30
28
+ process-only: 'issues, prs'
0 commit comments