Skip to content

Commit b53adda

Browse files
committed
Fixing run requirements in actions and adding exit-zero
Signed-off-by: Ryan Lettieri <[email protected]>
1 parent 7cda76c commit b53adda

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/pr-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
pip install -r requirements.txt
3838
- name: Lint with flake8
3939
run: |
40-
flake8 . --count --show-source --statistics
40+
flake8 . --count --show-source --statistics --exit-zero
4141
- name: Pytest unit tests
4242
working-directory: tests/durabletask
4343
run: |

.github/workflows/publish-dts-sdk.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ name: Publish Durable Task Scheduler to PyPI
22

33
on:
44
push:
5+
branches:
6+
- "main"
57
tags:
6-
- 'azuremanaged-v*' # Only run for tags starting with "azuremanaged-v"
7-
8-
on:
9-
push:
10-
branches: [ "main" ]
8+
- "azuremanaged-v*" # Only run for tags starting with "azuremanaged-v"
119
pull_request:
12-
branches: [ "main" ]
10+
branches:
11+
- "main"
1312

1413
jobs:
1514
lint:

0 commit comments

Comments
 (0)