Skip to content

Commit 6653fff

Browse files
Update workflow triggers in copilot-setup-steps.yml
Add push and pull_request triggers for workflow.
1 parent 64cd37b commit 6653fff

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: Setup GitHub Copilot Agent Environment
22

3-
# This workflow configures the environment for GitHub Copilot agents
4-
# It reuses configuration from the main Build-Test-And-Deploy workflow
5-
# to ensure consistency and reduce duplication
6-
73
on:
84
workflow_dispatch:
5+
push:
6+
paths:
7+
- '.github/workflows/copilot-setup-steps.yml'
8+
pull_request:
9+
paths:
10+
- '.github/workflows/copilot-setup-steps.yml'
911

1012
permissions:
1113
contents: read
@@ -14,7 +16,8 @@ jobs:
1416
copilot-setup-steps:
1517
runs-on: ubuntu-latest
1618
environment: "BuildAndUploadImage"
17-
19+
permissions:
20+
contents: read
1821
steps:
1922
- uses: actions/checkout@v5
2023

@@ -61,4 +64,4 @@ jobs:
6164
echo "Installing additional tools for Copilot agent environment..."
6265
6366
# Install EF Core tools globally
64-
dotnet tool install --global dotnet-ef
67+
dotnet tool install --global dotnet-ef

0 commit comments

Comments
 (0)