[DEV] Do not release with doc updates

This commit is contained in:
Jesse Bannon 2023-10-18 23:35:02 -07:00
parent 1cb70e4520
commit 8eca524292
2 changed files with 10 additions and 2 deletions

View file

@ -100,7 +100,11 @@ jobs:
permissions:
contents: read
if: ${{ github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[DEV]') }}
if: ${{
github.ref == 'refs/heads/master'
&& !contains(github.event.head_commit.message, '[DEV]')
&& !contains(github.event.head_commit.message, '[DOCS]')
}}
steps:
- uses: actions/checkout@v3

View file

@ -171,7 +171,11 @@ jobs:
ls -lh /opt/builds
- name: Create Release
if: ${{ github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[DEV]') }}
if: ${{
github.ref == 'refs/heads/master'
&& !contains(github.event.head_commit.message, '[DEV]')
&& !contains(github.event.head_commit.message, '[DOCS]')
}}
id: create_release
uses: softprops/action-gh-release@v1
with: