diff --git a/.github/workflows/test-invoke-conda.yml b/.github/workflows/test-invoke-conda.yml index fd2c9c10e9..5812b63fcc 100644 --- a/.github/workflows/test-invoke-conda.yml +++ b/.github/workflows/test-invoke-conda.yml @@ -1,16 +1,14 @@ name: Test invoke.py -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'development' + - 'fix-gh-actions-fork' + pull_request: jobs: matrix: - # Run on: - # - pull requests - # - pushes to forks (will run in the forked project with that fork's secrets) - # - pushes to branches that are *not* pull requests - if: | - github.event_name == 'pull_request' - || github.repository != 'invoke-ai/InvokeAI' - || github.ref_protected strategy: matrix: stable-diffusion-model: diff --git a/.github/workflows/test-invoke-pip.yml b/.github/workflows/test-invoke-pip.yml index 1803743e28..178c3a7202 100644 --- a/.github/workflows/test-invoke-pip.yml +++ b/.github/workflows/test-invoke-pip.yml @@ -1,16 +1,13 @@ name: Test invoke.py pip -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'development' + pull_request: jobs: matrix: - # Run on: - # - pull requests - # - pushes to forks (will run in the forked project with that fork's secrets) - # - pushes to branches that are *not* pull requests - if: | - github.event_name == 'pull_request' - || github.repository != 'invoke-ai/InvokeAI' - || github.ref_protected strategy: matrix: stable-diffusion-model: