diff --git a/.github/workflows/build-cache.yml b/.github/workflows/build-cache.yml index 5b3fb374ea..62429be59d 100644 --- a/.github/workflows/build-cache.yml +++ b/.github/workflows/build-cache.yml @@ -6,9 +6,7 @@ name: Build Cache on: push: branches: - - "**" - - "!dependabot/**" - - "!xgopilot/**" + - main pull_request: branches: ["**"] diff --git a/.github/workflows/doc-link-checker.yml b/.github/workflows/doc-link-checker.yml index ee42621899..a79a748962 100644 --- a/.github/workflows/doc-link-checker.yml +++ b/.github/workflows/doc-link-checker.yml @@ -3,9 +3,7 @@ name: Doc Link Checker on: push: branches: - - "**" - - "!dependabot/**" - - "!xgopilot/**" + - main paths: - "README.md" pull_request: diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 479e63c95e..6021b8234c 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -3,9 +3,7 @@ name: Docs on: push: branches: - - "**" - - "!dependabot/**" - - "!xgopilot/**" + - main pull_request: branches: ["**"] diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index bde48ad92f..a02cd22a53 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -3,9 +3,7 @@ name: Format Check on: push: branches: - - "**" - - "!dependabot/**" - - "!xgopilot/**" + - main pull_request: branches: ["**"] diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a7390e06c8..c981e42ac6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,9 +6,7 @@ name: Go on: push: branches: - - "**" - - "!dependabot/**" - - "!xgopilot/**" + - main pull_request: branches: ["**"] diff --git a/.github/workflows/llgo.yml b/.github/workflows/llgo.yml index e8e34e6854..ce6886bfe8 100644 --- a/.github/workflows/llgo.yml +++ b/.github/workflows/llgo.yml @@ -6,9 +6,7 @@ name: LLGo on: push: branches: - - "**" - - "!dependabot/**" - - "!xgopilot/**" + - main pull_request: branches: ["**"] @@ -180,7 +178,7 @@ jobs: test: name: test (${{ matrix.lane }}, ${{ matrix.os }}, LLVM ${{ matrix.llvm }}, Go ${{ matrix.go }}, shard ${{ matrix.shard }}) continue-on-error: ${{ matrix.lane == 'compatibility' }} - timeout-minutes: 30 + timeout-minutes: ${{ startsWith(matrix.os, 'macos') && 45 || 30 }} strategy: matrix: # Keep compatibility and primary toolchains pinned to exact patches. diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index b1bf00ff9b..7f367be4d4 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -3,10 +3,9 @@ name: Release Build on: push: branches: - - "**" - - "!dependabot/**" - - "!xgopilot/**" - tags: ["*"] + - main + tags: + - "*" pull_request: branches: ["**"] diff --git a/.github/workflows/stdlib-coverage.yml b/.github/workflows/stdlib-coverage.yml index f3ae6fbb0b..8aa81e6151 100644 --- a/.github/workflows/stdlib-coverage.yml +++ b/.github/workflows/stdlib-coverage.yml @@ -3,9 +3,7 @@ name: Stdlib Coverage on: push: branches: - - "**" - - "!dependabot/**" - - "!xgopilot/**" + - main pull_request: branches: ["**"] diff --git a/.github/workflows/targets.yml b/.github/workflows/targets.yml index 6eed98a333..49ce34aa6c 100644 --- a/.github/workflows/targets.yml +++ b/.github/workflows/targets.yml @@ -3,9 +3,7 @@ name: Targets on: push: branches: - - "**" - - "!dependabot/**" - - "!xgopilot/**" + - main pull_request: branches: ["**"]