Skip to content

Commit aff7312

Browse files
authored
Merge pull request #15 from GrandMoff100/dev
Flake8 worjkflow fix!
2 parents a000494 + 0c0f049 commit aff7312

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/flake8.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ on:
44
pull_request_target:
55
paths:
66
- '*.py'
7+
workflow_dispatch:
78

89
jobs:
910
flake8_py3:
1011
runs-on: ubuntu-latest
1112
steps:
1213
- name: Setup Python
13-
uses: actions/setup-python@v1
14+
uses: actions/setup-python@v2
1415
- name: Checkout
15-
uses: actions/checkout@master
16+
uses: actions/checkout@v2
17+
with:
18+
ref: ${{ github.event.pull_request.head.sha }}
1619
- name: Install flake8
1720
run: pip install flake8
1821
- name: Run flake8

0 commit comments

Comments
 (0)