diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7bb1b05154..1a21294456 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ on: jobs: build-axolotl: - if: github.repository_owner == 'OpenAccess-AI-Collective' + if: ${{ ! contains(github.event.commits[0].message, '[skip docker]]') && github.repository_owner == 'OpenAccess-AI-Collective' }} # this job needs to be run on self-hosted GPU runners... strategy: fail-fast: false @@ -79,7 +79,7 @@ jobs: build-axolotl-runpod: needs: build-axolotl - if: github.repository_owner == 'OpenAccess-AI-Collective' + if: ${{ ! contains(github.event.commits[0].message, '[skip docker]]') && github.repository_owner == 'OpenAccess-AI-Collective' }} # this job needs to be run on self-hosted GPU runners... strategy: matrix: