Skip to content

Commit

Permalink
only ignore top level .github files
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Jul 8, 2022
1 parent 9f8f38a commit 7f91cfc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
- '!.editorconfig'
- '!docs/**'
- '!**/*.md'
- '!.github'
- '!.github/*'

jobs:
android-build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
- '!.editorconfig'
- '!docs/**'
- '!**/*.md'
- '!.github/**'
- '!.github/*'

jobs:
android-build:
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ trigger:
- .editorconfig
- docs/**
- **/*.md
- .github
- .github/*
stages:
- stage: build
displayName: 'Build'
Expand Down
2 changes: 1 addition & 1 deletion build/CI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class CI : CIBuild
public override PushTrigger OnPush => new ()
{
Branches = new [] { "master" },
ExcludePaths = new[] { ".gitignore", ".editorconfig", "docs/**", "**/*.md", ".github" }
ExcludePaths = new[] { ".gitignore", ".editorconfig", "docs/**", "**/*.md", ".github/*" }
};

public override IEnumerable<ICIStage> Stages => new[]
Expand Down
2 changes: 1 addition & 1 deletion build/PR.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class PR : CIBuild
public override PullRequestTrigger OnPull => new()
{
Branches = new[] { "master" },
ExcludePaths = new[] { ".gitignore", ".editorconfig", "docs/**", "**/*.md", ".github/**" }
ExcludePaths = new[] { ".gitignore", ".editorconfig", "docs/**", "**/*.md", ".github/*" }
};

public override IEnumerable<ICIStage> Stages => new[]
Expand Down

0 comments on commit 7f91cfc

Please sign in to comment.