1 parent de3aaf4 commit f86de41Copy full SHA for f86de41
1 file changed
.github/workflows/pushed.yaml
@@ -1,6 +1,14 @@
1
name: New commit pushed and receive pull request
2
3
-on: [push, pull_request]
+on:
4
+ pull_request:
5
+ push:
6
+ workflow_dispatch:
7
+ inputs:
8
+ git_rev:
9
+ description: 'git revision'
10
+ required: false
11
+ default: ''
12
13
jobs:
14
check:
@@ -10,6 +18,7 @@ jobs:
18
uses: actions/checkout@v2
19
with:
20
fetch-depth: 0
21
+ ref: '${{ github.event.inputs.git_rev }}'
22
23
- name: Set up Python 3.7
15
24
uses: actions/setup-python@v1
0 commit comments