File tree Expand file tree Collapse file tree 3 files changed +47
-6
lines changed
Expand file tree Collapse file tree 3 files changed +47
-6
lines changed Original file line number Diff line number Diff line change 77 pull_request :
88 branches :
99 - master
10+ permissions :
11+ contents : read
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+ cancel-in-progress : true
1015jobs :
1116 build :
1217 strategy :
1318 fail-fast : false
14- runs-on : windows-2022
19+ runs-on : windows-latest
1520 steps :
1621 - name : Checkout
17- uses : actions/checkout@v2
22+ uses : actions/checkout@v4
1823 with :
1924 fetch-depth : 0
2025 - name : Build and Test
2732 run : ./Push.ps1
2833 shell : pwsh
2934 - name : Artifacts
30- uses : actions/upload-artifact@v2
35+ uses : actions/upload-artifact@v4
3136 with :
3237 name : artifacts
3338 path : artifacts/**/*
Original file line number Diff line number Diff line change 1+ name : ' Lock threads'
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * 0'
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+
11+ jobs :
12+ lock :
13+ permissions :
14+ issues : write # for dessant/lock-threads to lock issues
15+ pull-requests : write # for dessant/lock-threads to lock PRs
16+ discussions : write # for dessant/lock-threads to lock discussions
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : dessant/lock-threads@v5
20+ with :
21+ issue-inactive-days : 31
22+ pr-inactive-days : 31
23+ discussion-inactive-days : 31
24+ issue-comment : >
25+ This issue has been automatically locked since there
26+ has not been any recent activity after it was closed.
27+ Please open a new issue for related bugs.
28+ pr-comment : >
29+ This pull request has been automatically locked since there
30+ has not been any recent activity after it was closed.
31+ discussion-comment : >
32+ This discussion has been automatically locked since there
33+ has not been any recent activity after it was closed.
Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - ' *.*.*'
7+ permissions :
8+ contents : read
9+
710jobs :
811 build :
912 strategy :
1013 fail-fast : false
11- runs-on : windows-2022
14+ runs-on : windows-latest
1215 steps :
1316 - name : Checkout
14- uses : actions/checkout@v2
17+ uses : actions/checkout@v4
1518 with :
1619 fetch-depth : 0
1720 - name : Build and Test
3033 run : ./Push.ps1
3134 shell : pwsh
3235 - name : Artifacts
33- uses : actions/upload-artifact@v2
36+ uses : actions/upload-artifact@v4
3437 with :
3538 name : artifacts
3639 path : artifacts/**/*
You can’t perform that action at this time.
0 commit comments