Skip to content

Commit

Permalink
Trigger workflows on changes to nuget central package management.
Browse files Browse the repository at this point in the history
  • Loading branch information
damianh committed Nov 12, 2024
1 parent e2355b3 commit 9d253ff
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflow-gen/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@
void GenerateCiWorkflow(Component component)
{
var workflow = new Workflow($"{component.Name}/ci");
var paths = new[] { $".github/workflows/{component.Name}-**", $"{component.Name}/**" };
var paths = new[]
{
$".github/workflows/{component.Name}-**",
$"{component.Name}/**",
"Directory.Packages.props"
};

workflow.On
.WorkflowDispatch();
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/access-token-management-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
paths:
- .github/workflows/access-token-management-**
- access-token-management/**
- Directory.Packages.props
pull_request:
paths:
- .github/workflows/access-token-management-**
- access-token-management/**
- Directory.Packages.props
env:
DOTNETT_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/identity-model-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
paths:
- .github/workflows/identity-model-**
- identity-model/**
- Directory.Packages.props
pull_request:
paths:
- .github/workflows/identity-model-**
- identity-model/**
- Directory.Packages.props
env:
DOTNETT_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/identity-model-oidc-client-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
paths:
- .github/workflows/identity-model-oidc-client-**
- identity-model-oidc-client/**
- Directory.Packages.props
pull_request:
paths:
- .github/workflows/identity-model-oidc-client-**
- identity-model-oidc-client/**
- Directory.Packages.props
env:
DOTNETT_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ignore-this-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
paths:
- .github/workflows/ignore-this-**
- ignore-this/**
- Directory.Packages.props
pull_request:
paths:
- .github/workflows/ignore-this-**
- ignore-this/**
- Directory.Packages.props
env:
DOTNETT_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
Expand Down

0 comments on commit 9d253ff

Please sign in to comment.