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