File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : Continuous Integration
2
2
3
- on : [push, pull_request]
3
+ on : [push, pull_request, workflow_dispatch ]
4
4
5
5
jobs :
6
6
# Use the following command to fix words locally:
Original file line number Diff line number Diff line change 4
4
schedule :
5
5
# Every night at midnight
6
6
- cron : ' 0 0 * * *'
7
+ workflow_dispatch :
8
+ inputs :
9
+ rev :
10
+ description : " Revision hash to run against"
11
+ required : false
12
+ default : " "
7
13
8
14
jobs :
9
15
dependencies :
10
16
name : Check for unused dependencies
11
17
runs-on : ubuntu-latest
12
18
steps :
13
19
- uses : actions/checkout@v2
20
+ with :
21
+ ref : " ${{ github.event.inputs.rev }}"
14
22
- name : Install latest Rust
15
23
uses : actions-rs/toolchain@v1
16
24
with :
25
33
runs-on : ubuntu-latest
26
34
steps :
27
35
- uses : actions/checkout@v2
36
+ with :
37
+ ref : " ${{ github.event.inputs.rev }}"
28
38
- name : Install latest Rust
29
39
uses : actions-rs/toolchain@v1
30
40
with :
You can’t perform that action at this time.
0 commit comments