From 8eca524292249d6efc478929ddc7ff3388dce4bf Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Wed, 18 Oct 2023 23:35:02 -0700 Subject: [PATCH] [DEV] Do not release with doc updates --- .github/workflows/package-ubuntu.yaml | 6 +++++- .github/workflows/release.yaml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package-ubuntu.yaml b/.github/workflows/package-ubuntu.yaml index 0133a6f1..3e1e30cc 100644 --- a/.github/workflows/package-ubuntu.yaml +++ b/.github/workflows/package-ubuntu.yaml @@ -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 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 55e0683a..219f32c3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: