diff --git a/.github/workflows/codegen.yml b/.github/workflows/codegen.yml index 578cb3b7d..9bcce460f 100644 --- a/.github/workflows/codegen.yml +++ b/.github/workflows/codegen.yml @@ -1,8 +1,6 @@ name: Codegen on: - push: - branches: [ main ] pull_request: workflow_dispatch: diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index c58b4dbb4..dd2dd8f12 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -1,8 +1,6 @@ name: CI on: - push: - branches: [ main ] pull_request: workflow_dispatch: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8aaa6c8b0..fa2c3568c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,8 +1,6 @@ name: Lint on: - push: - branches: [ main ] pull_request: workflow_dispatch: diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index a789c21b5..484f7ff57 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -7,6 +7,7 @@ on: jobs: git-sync: + if: github.repository == 'smithy-lang/smithy-swift' runs-on: ubuntu-latest steps: