[nolist] dont run pre/release on forks, and dont run prerelease if commit is nolist
This commit is contained in:
@@ -10,6 +10,9 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
environment: polymart_deploy
|
||||
if: |
|
||||
!github.event.pull_request.head.repo.fork &&
|
||||
!contains(github.event.head_commit.message, '[nolist]')
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 11
|
||||
|
||||
@@ -10,6 +10,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
environment: polymart_deploy
|
||||
if: ${{ !github.event.pull_request.head.repo.fork }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 11
|
||||
|
||||
Reference in New Issue
Block a user