Skip to content

Commit 5f7528e

Browse files
Update workflow triggers in copilot-setup-steps.yml (#783)
1 parent 64cd37b commit 5f7528e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
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
1214

1315
jobs:
1416
copilot-setup-steps:
1517
runs-on: ubuntu-latest
16-
environment: "BuildAndUploadImage"
17-
18+
permissions:
19+
contents: read
1820
steps:
1921
- uses: actions/checkout@v5
2022

@@ -61,4 +63,4 @@ jobs:
6163
echo "Installing additional tools for Copilot agent environment..."
6264
6365
# Install EF Core tools globally
64-
dotnet tool install --global dotnet-ef
66+
dotnet tool install --global dotnet-ef

0 commit comments

Comments
 (0)