diff --git a/.github/workflows/package-ubuntu.yaml b/.github/workflows/package-ubuntu.yaml index 6a8bc2f4..ab8e249d 100644 --- a/.github/workflows/package-ubuntu.yaml +++ b/.github/workflows/package-ubuntu.yaml @@ -57,7 +57,7 @@ jobs: permissions: contents: read - if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }} + if: ${{ github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[DEV]') }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 835b75f2..9b03b9a3 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -148,7 +148,7 @@ jobs: packages: write contents: read - if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }} + if: ${{ github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[DEV]') }} steps: - uses: actions/checkout@v3