Skip to content

Commit a61495c

Browse files
authored
Added lock threads workflow (#215)
* Added lock threads workflow * Updated appveyor cfg
1 parent 0009e7c commit a61495c

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.appveyor.yml

+12
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,15 @@ deploy_script:
9797
# Calling twine requires we set path
9898
- "SET PATH=%PYTHON_DEF%;%PYTHON_DEF%\\Scripts;%PATH%"
9999
- python ci/appveyor/pypi_upload.py *.whl
100+
101+
102+
deploy:
103+
- provider: Environment
104+
name: production
105+
on:
106+
branch: master
107+
108+
- provider: Environment
109+
name: production
110+
on:
111+
APPVEYOR_REPO_TAG: true

.github/workflows/lock-threads.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: 'Lock Threads'
2+
3+
on:
4+
schedule:
5+
- cron: '0 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+
action:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: dessant/lock-threads@v5
21+
with:
22+
exclude-any-issue-labels: 'help wanted, upstream, PR welcome, api implementation'
23+
process-only: 'issues'

0 commit comments

Comments
 (0)