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 a03b2ca commit f7b3575Copy full SHA for f7b3575
.github/workflows/stale.yml
@@ -0,0 +1,29 @@
1
+name: 'Lock old issues'
2
+
3
+on:
4
+ schedule:
5
+ - cron: '0 * * * *'
6
+ workflow_dispatch:
7
8
+permissions:
9
+ issues: write
10
+# pull-requests: write
11
+# discussions: write
12
13
+concurrency:
14
+ group: lock-threads
15
16
+jobs:
17
+ lock-stale:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: dessant/lock-threads@v5
21
+ id: lock
22
+ with:
23
+ issue-inactive-days: 90
24
+ process-only: issues
25
+ - name: Log processed threads
26
+ run: |
27
+ if [ '${{ steps.lock.outputs.issues }}' ]; then
28
+ echo "Issues:" && echo '${{ steps.lock.outputs.issues }}' | jq -r '.[] | "https://github.com/\(.owner)/\(.repo)/issues/\(.issue_number)"'
29
+ fi
0 commit comments