Skip to content

Commit f86de41

Browse files
committed
ci(project-root): add workflow-dispatch to python-check github-action
1 parent de3aaf4 commit f86de41

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/pushed.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: New commit pushed and receive pull request
22

3-
on: [push, pull_request]
3+
on:
4+
pull_request:
5+
push:
6+
workflow_dispatch:
7+
inputs:
8+
git_rev:
9+
description: 'git revision'
10+
required: false
11+
default: ''
412

513
jobs:
614
check:
@@ -10,6 +18,7 @@ jobs:
1018
uses: actions/checkout@v2
1119
with:
1220
fetch-depth: 0
21+
ref: '${{ github.event.inputs.git_rev }}'
1322

1423
- name: Set up Python 3.7
1524
uses: actions/setup-python@v1

0 commit comments

Comments
 (0)