Skip to content

Commit f4fd117

Browse files
authored
Merge pull request #1145 from equalizedigital/copilot/fix-c5bd5dfc-6b41-42db-982b-99a1955962e3
Convert copilot-agent.yml workflow to copilot-setup-steps.yml following GitHub Copilot Agents pattern
2 parents e9f6682 + aef890b commit f4fd117

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

.github/COPILOT_AGENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This repository includes a GitHub Actions workflow specifically designed for GitHub Copilot Agent environments, providing a pre-configured development setup with all dependencies and testing tools ready to use.
44

5-
## Workflow: `.github/workflows/copilot-agent.yml`
5+
## Workflow: `.github/workflows/copilot-setup-steps.yml`
66

77
### What it does:
88

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
1-
name: Copilot Agent Environment Setup
1+
name: Copilot Setup Steps
22

33
on:
44
workflow_dispatch:
5-
# Allow manual triggering for Copilot agent environments
5+
push:
6+
paths:
7+
- .github/workflows/copilot-setup-steps.yml
8+
pull_request:
9+
paths:
10+
- .github/workflows/copilot-setup-steps.yml
611

712
jobs:
8-
setup-environment:
13+
copilot-setup-steps:
914
name: Setup Development Environment
1015
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
1118

1219
steps:
1320
- name: Checkout code
@@ -120,7 +127,7 @@ jobs:
120127
echo "📦 Installation Summary:"
121128
echo "✅ Node.js $(node --version) and npm dependencies installed"
122129
echo "✅ PHP $(php --version | head -n1) and Composer dependencies installed"
123-
echo "✅ Jest tests passed (28 test suites, 484 tests)"
130+
echo "✅ Jest tests were run"
124131
echo "✅ Docker containers ready for PHP testing"
125132
echo "✅ Build system operational (webpack)"
126133
echo ""
@@ -143,4 +150,4 @@ jobs:
143150
echo " - Cypress may need manual setup: npm config set ignore-scripts false && npm run postinstall"
144151
echo " - Docker containers use custom WordPress testing image"
145152
echo " - PHP tests require WordPress installation in container"
146-
echo " - All dependencies cached for faster subsequent runs"
153+
echo " - All dependencies cached for faster subsequent runs"

0 commit comments

Comments
 (0)