From 02b772077d5fcc261cfd247aa1a129e8820a7b91 Mon Sep 17 00:00:00 2001 From: David Wengier Date: Sat, 11 Oct 2025 09:47:12 +1100 Subject: [PATCH] Modify Copilot setup workflow triggers and runner Updated workflow triggers and changed the runner environment. --- .github/workflows/copilot-setup-steps.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index d0c2428aead..0ecdf5e3b89 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -1,13 +1,21 @@ name: "Copilot Setup Steps" -# Allow testing of the setup steps from your repository's "Actions" tab. -on: workflow_dispatch +# Automatically run the setup steps when they are changed to allow for easy validation, and +# allow manual testing through the repository's "Actions" tab +on: + workflow_dispatch: + push: + paths: + - .github/workflows/copilot-setup-steps.yml + pull_request: + paths: + - .github/workflows/copilot-setup-steps.yml jobs: # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot. # See https://docs.github.com/en/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent copilot-setup-steps: - runs-on: 8-core-ubuntu-latest + runs-on: ubuntu-latest permissions: contents: read @@ -46,4 +54,4 @@ jobs: echo "=== Build artifacts ===" ls -la artifacts/ || true echo "=== Global.json ===" - cat global.json \ No newline at end of file + cat global.json