Skip to content

Commit 7bf2d41

Browse files
authored
Allow manual dispatching of workflows (#460)
1 parent 69c82aa commit 7bf2d41

7 files changed

Lines changed: 18 additions & 7 deletions

File tree

.github/workflows/codeql.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches: [main]
88
pull_request:
99
branches: [main]
10+
workflow_dispatch:
1011
schedule:
1112
- cron: "30 1 * * 0"
1213

.github/workflows/labels.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: Sync labels
33

44
# yamllint disable-line rule:truthy
55
on:
6-
workflow_dispatch:
76
push:
87
branches:
98
- main
109
paths:
1110
- .github/labels.yml
11+
workflow_dispatch:
1212

1313
jobs:
1414
labels:

.github/workflows/linting.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
name: Linting
33

44
# yamllint disable-line rule:truthy
5-
on: [push, pull_request]
5+
on:
6+
push:
7+
pull_request:
8+
workflow_dispatch:
69

710
jobs:
811
precommit:

.github/workflows/lock.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
name: 🔒 Lock closed issues and PRs
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: dessant/lock-threads@v2.1.2
15+
- uses: dessant/lock-threads@v3.0.0
1616
with:
1717
github-token: ${{ github.token }}
18-
issue-lock-inactive-days: "30"
18+
issue-inactive-days: "30"
1919
issue-lock-reason: ""
20-
pr-lock-inactive-days: "1"
20+
pr-inactive-days: "1"
2121
pr-lock-reason: ""

.github/workflows/release-drafter.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
push:
77
branches:
88
- main
9+
workflow_dispatch:
910

1011
jobs:
1112
update_release_draft:

.github/workflows/tests.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
name: Testing
33

44
# yamllint disable-line rule:truthy
5-
on: [push, pull_request]
5+
on:
6+
push:
7+
pull_request:
8+
workflow_dispatch:
69

710
jobs:
811
pytest:

.github/workflows/typing.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
name: Typing
33

44
# yamllint disable-line rule:truthy
5-
on: [push, pull_request]
5+
on:
6+
push:
7+
pull_request:
8+
workflow_dispatch:
69

710
jobs:
811
mypy:

0 commit comments

Comments
 (0)