From 6653ffff91521439c2096ef2eb541d6d7411a6af Mon Sep 17 00:00:00 2001 From: Benjamin Michaelis Date: Sat, 20 Sep 2025 11:50:23 -0700 Subject: [PATCH 1/2] Update workflow triggers in copilot-setup-steps.yml Add push and pull_request triggers for workflow. --- .github/workflows/copilot-setup-steps.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index ec275057..daa44ee9 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -1,11 +1,13 @@ name: Setup GitHub Copilot Agent Environment -# This workflow configures the environment for GitHub Copilot agents -# It reuses configuration from the main Build-Test-And-Deploy workflow -# to ensure consistency and reduce duplication - on: workflow_dispatch: + push: + paths: + - '.github/workflows/copilot-setup-steps.yml' + pull_request: + paths: + - '.github/workflows/copilot-setup-steps.yml' permissions: contents: read @@ -14,7 +16,8 @@ jobs: copilot-setup-steps: runs-on: ubuntu-latest environment: "BuildAndUploadImage" - + permissions: + contents: read steps: - uses: actions/checkout@v5 @@ -61,4 +64,4 @@ jobs: echo "Installing additional tools for Copilot agent environment..." # Install EF Core tools globally - dotnet tool install --global dotnet-ef \ No newline at end of file + dotnet tool install --global dotnet-ef From 983570fca67a8048dfd71c07a28c24b0875fb2bd Mon Sep 17 00:00:00 2001 From: Benjamin Michaelis Date: Sat, 20 Sep 2025 11:51:52 -0700 Subject: [PATCH 2/2] Update copilot-setup-steps.yml --- .github/workflows/copilot-setup-steps.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index daa44ee9..9bc30620 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -15,7 +15,6 @@ permissions: jobs: copilot-setup-steps: runs-on: ubuntu-latest - environment: "BuildAndUploadImage" permissions: contents: read steps: