Skip to content

Commit 15586e6

Browse files
Merge pull request #86 from BenjamenMeyer/enhancement_migrations-2
GH: Cleanup
2 parents c39184f + 5b10cca commit 15586e6

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/ci-gh-actions.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Stack-In-A-Box CI
22

3-
on: [push, pull_request]
3+
on: [pull_request]
44

55
jobs:
66
lint:
@@ -13,9 +13,6 @@ jobs:
1313
- uses: actions/checkout@v2
1414
with:
1515
ref: ${{ github.event.pull_request.head.sha }}
16-
if: ${{ github.event_name }} == 'pull_request'
17-
- uses: actions/checkout@v2
18-
if: ${{ github.event_name }} != 'pull_request'
1916
- name: Setup Python ${{ matrix.python-version }}
2017
uses: actions/setup-python@v2
2118
with:
@@ -35,9 +32,6 @@ jobs:
3532
- uses: actions/checkout@v2
3633
with:
3734
ref: ${{ github.event.pull_request.head.sha }}
38-
if: ${{ github.event_name }} == 'pull_request'
39-
- uses: actions/checkout@v2
40-
if: ${{ github.event_name }} != 'pull_request'
4135
- name: Setup Python ${{ matrix.python-version }}
4236
uses: actions/setup-python@v2
4337
with:
@@ -48,9 +42,7 @@ jobs:
4842
run: tox -v -e py${{ matrix.python-version }} -- -v
4943
- name: Run Tox Optional Modules
5044
run: tox -v -e py3-httpretty,py3-requests-mock,py3-responses -- -v
51-
- name: Build Docs
52-
run: tox -v -e docs -- -v
53-
build:
45+
docs:
5446
runs-on: ubuntu-latest
5547
strategy:
5648
fail-fast: true
@@ -60,9 +52,6 @@ jobs:
6052
- uses: actions/checkout@v2
6153
with:
6254
ref: ${{ github.event.pull_request.head.sha }}
63-
if: ${{ github.event_name }} == 'pull_request'
64-
- uses: actions/checkout@v2
65-
if: ${{ github.event_name }} != 'pull_request'
6655
- name: Setup Python ${{ matrix.python-version }}
6756
uses: actions/setup-python@v2
6857
with:

0 commit comments

Comments
 (0)