Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .github/workflows/macos-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,8 @@ name: macos-latest

on:
push:
branches-ignore:
- main
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
- 'images/**'
- '**/*.md'

jobs:
macos-latest:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/windows-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,8 @@ name: windows-latest

on:
push:
branches-ignore:
- main
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
- 'images/**'
- '**/*.md'

jobs:
windows-latest:
Expand Down
11 changes: 5 additions & 6 deletions build/Build.CI.GitHubActions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@
"windows-latest",
GitHubActionsImage.WindowsLatest,
FetchDepth = 0,
OnPushBranchesIgnore = new[] { MainBranch },
OnPullRequestBranches = new[] { MainBranch },
OnPullRequestExcludePaths = new[] { "docs/**", "images/**", "**/*.md" },
OnPushBranches = new[] { MainBranch },
InvokedTargets = new[] { nameof(ITest.Test), nameof(IPack.Pack) },
PublishArtifacts = false)]
// macOS and Windows runs are reserved for main-branch validation (post-merge
// and release pipelines). PRs and feature-branch pushes get Linux-only for
// fast, cheap feedback.
[GitHubActions(
"macos-latest",
GitHubActionsImage.MacOsLatest,
FetchDepth = 0,
OnPushBranchesIgnore = new[] { MainBranch },
OnPullRequestBranches = new[] { MainBranch },
OnPullRequestExcludePaths = new[] { "docs/**", "images/**", "**/*.md" },
OnPushBranches = new[] { MainBranch },
InvokedTargets = new[] { nameof(ITest.Test), nameof(IPack.Pack) },
PublishArtifacts = false)]
[GitHubActions(
Expand Down
Loading