Skip to content

Commit

Permalink
ci: make all intended PR workflows to work by non-draft PR
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Dec 3, 2023
1 parent c032f03 commit c1a36a6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/macos-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
name: pytest on macOS

on:
push:
branches: [ '**' ]
pull_request:
branches: [ "master" ]

jobs:
build:
if: '! github.event.pull_request.draft'
runs-on: ${{ matrix.os }}

defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
name: Python application

on:
push:
branches: [ '**' ]
pull_request:
branches: [ "master" ]

jobs:
build:
if: '! github.event.pull_request.draft'
runs-on: ${{ matrix.os }}

defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/server-app.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Server application

on:
push:
branches: [ '**' ]
pull_request:
branches: [ "master" ]

jobs:
build:
if: '! github.event.pull_request.draft'
runs-on: ${{ matrix.os }}

defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/server-publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Uploading release artifacts

on:
push:
branches: [ 'master' ]
release:
types: [created]

jobs:
build:
if: '! github.event.pull_request.draft'
runs-on: ${{ matrix.os }}

defaults:
Expand Down

0 comments on commit c1a36a6

Please sign in to comment.