-
-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (30 loc) · 975 Bytes
/
Copy pathcopilot-setup-steps.yml
File metadata and controls
36 lines (30 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Validate Copilot Configuration
permissions:
contents: read
on:
workflow_dispatch:
push:
branches: [main, master]
paths:
- '.github/copilot-instructions.md'
- '.github/README.md'
jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
name: Validate GitHub Copilot Configuration
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Validate configuration files exist
run: |
echo "🔍 Validating Copilot configuration files..."
if [ ! -f ".github/copilot-instructions.md" ]; then
echo "❌ Missing .github/copilot-instructions.md"
exit 1
fi
if [ ! -f ".github/README2.md" ]; then
echo "❌ Missing .github/README2.md"
exit 1
fi
echo "✅ All configuration files found"
echo "✅ Copilot configuration validation completed!"