[nolist] dont run pre/release on forks, and dont run prerelease if commit is nolist

This commit is contained in:
ajgeiss0702
2022-08-12 10:13:14 -07:00
parent 26b4f7dc33
commit 12daae7600
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -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