We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf7eb1 commit 5d0584fCopy full SHA for 5d0584f
.github/workflows/csharp.yml
@@ -5,21 +5,12 @@ on:
5
branches: [ master ]
6
pull_request:
7
8
+ types: [ opened, synchronize, reopened, ready_for_review ]
9
-jobs:
10
- failOnDraftPullRequest:
11
- name: Fail If Draft Pull Request
12
- if: github.event.pull_request.draft == true
13
- runs-on: ubuntu-latest
14
- steps:
15
- - name: Fails Draft pull request.
16
- run: |
17
- echo "Draft pull requests should not trigger CI. Please mark the pull request as Ready for review to continue."
18
- exit 1
19
-
+jobs:
20
lintCodebase:
21
- name: Lint Codebase
22
- needs: [ failOnDraftPullRequest ]
+ name: Lint Codebase if Not Draft
+ if: github.event.pull_request.draft == false
23
runs-on: ubuntu-latest
24
steps:
25
- name: Checkout code
0 commit comments