Skip to content

Commit e54bd26

Browse files
authored
CoPilot instruction improvements (#630)
1 parent 0bb8594 commit e54bd26

14 files changed

Lines changed: 95 additions & 38 deletions

File tree

.github/copilot-instructions.md

Lines changed: 55 additions & 26 deletions
Large diffs are not rendered by default.

.github/workflows/arm64.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- '*.md'
1313
- LICENSE
1414
- '.azuredevops/**'
15+
- '.github/*.md'
1516
- '.nuget/*'
1617
- build/*.cmd
1718
- build/*.json
@@ -24,6 +25,7 @@ on:
2425
- '*.md'
2526
- LICENSE
2627
- '.azuredevops/**'
28+
- '.github/*.md'
2729
- '.nuget/*'
2830
- build/*.cmd
2931
- build/*.json
@@ -45,7 +47,7 @@ jobs:
4547
build_type: [arm64-Debug, arm64-Release, arm64-Debug-UWP, arm64-Release-UWP]
4648

4749
steps:
48-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
50+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4951

5052
- name: 'Install Ninja'
5153
run: choco install ninja

.github/workflows/arm64bvt.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- '*.md'
1313
- LICENSE
1414
- '.azuredevops/**'
15+
- '.github/*.md'
1516
- '.nuget/*'
1617
- build/*.cmd
1718
- build/*.json
@@ -24,6 +25,7 @@ on:
2425
- '*.md'
2526
- LICENSE
2627
- '.azuredevops/**'
28+
- '.github/*.md'
2729
- '.nuget/*'
2830
- build/*.cmd
2931
- build/*.json
@@ -46,10 +48,10 @@ jobs:
4648
build_type: [arm64-Release]
4749

4850
steps:
49-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
51+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5052

5153
- name: Clone test repository
52-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
54+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5355
with:
5456
repository: walbourn/directxtktest
5557
path: Tests

.github/workflows/bvt.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- '*.md'
1313
- LICENSE
1414
- '.azuredevops/**'
15+
- '.github/*.md'
1516
- '.nuget/*'
1617
- build/*.cmd
1718
- build/*.json
@@ -24,6 +25,7 @@ on:
2425
- '*.md'
2526
- LICENSE
2627
- '.azuredevops/**'
28+
- '.github/*.md'
2729
- '.nuget/*'
2830
- build/*.cmd
2931
- build/*.json
@@ -48,10 +50,10 @@ jobs:
4850
arch: [amd64]
4951

5052
steps:
51-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
53+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5254

5355
- name: Clone test repository
54-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
56+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5557
with:
5658
repository: walbourn/directxtktest
5759
path: Tests

.github/workflows/clangcl.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- '*.md'
1313
- LICENSE
1414
- '.azuredevops/**'
15+
- '.github/*.md'
1516
- '.nuget/*'
1617
- build/*.cmd
1718
- build/*.json
@@ -24,6 +25,7 @@ on:
2425
- '*.md'
2526
- LICENSE
2627
- '.azuredevops/**'
28+
- '.github/*.md'
2729
- '.nuget/*'
2830
- build/*.cmd
2931
- build/*.json

.github/workflows/codeql.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- '*.md'
1313
- LICENSE
1414
- '.azuredevops/**'
15+
- '.github/*.md'
1516
- '.nuget/*'
1617
- build/*.cmd
1718
- build/*.json
@@ -24,6 +25,7 @@ on:
2425
- '*.md'
2526
- LICENSE
2627
- '.azuredevops/**'
28+
- '.github/*.md'
2729
- '.nuget/*'
2830
- build/*.cmd
2931
- build/*.json
@@ -54,7 +56,7 @@ jobs:
5456

5557
steps:
5658
- name: Checkout repository
57-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
59+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5860

5961
- if: matrix.language == 'c-cpp'
6062
name: 'Install Ninja'
@@ -63,7 +65,7 @@ jobs:
6365
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
6466

6567
- name: Initialize CodeQL
66-
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
68+
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
6769
with:
6870
languages: ${{ matrix.language }}
6971
build-mode: manual
@@ -84,6 +86,6 @@ jobs:
8486
run: msbuild MakeSpriteFont.csproj /p:Configuration=Debug /p:Platform=AnyCPU
8587

8688
- name: Perform CodeQL Analysis
87-
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
89+
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
8890
with:
8991
category: "/language:${{ matrix.language }}"

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- '*.md'
1313
- LICENSE
1414
- '.azuredevops/**'
15+
- '.github/*.md'
1516
- '.nuget/*'
1617
- build/*.cmd
1718
- build/*.json
@@ -24,6 +25,7 @@ on:
2425
- '*.md'
2526
- LICENSE
2627
- '.azuredevops/**'
28+
- '.github/*.md'
2729
- '.nuget/*'
2830
- build/*.cmd
2931
- build/*.json

.github/workflows/msbuild.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- '*.md'
1313
- LICENSE
1414
- '.azuredevops/**'
15+
- '.github/*.md'
1516
- '.nuget/*'
1617
- build/*
1718
pull_request:
@@ -20,6 +21,7 @@ on:
2021
- '*.md'
2122
- LICENSE
2223
- '.azuredevops/**'
24+
- '.github/*.md'
2325
- '.nuget/*'
2426
- build/*
2527

.github/workflows/msvc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- '*.md'
1313
- LICENSE
1414
- '.azuredevops/**'
15+
- '.github/*.md'
1516
- '.nuget/*'
1617
- build/*.cmd
1718
- build/*.json
@@ -24,6 +25,7 @@ on:
2425
- '*.md'
2526
- LICENSE
2627
- '.azuredevops/**'
28+
- '.github/*.md'
2729
- '.nuget/*'
2830
- build/*.cmd
2931
- build/*.json
@@ -47,7 +49,7 @@ jobs:
4749

4850
steps:
4951
- name: Checkout repository
50-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
52+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5153

5254
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
5355
with:
@@ -74,6 +76,6 @@ jobs:
7476

7577
# Upload SARIF file to GitHub Code Scanning Alerts
7678
- name: Upload SARIF to GitHub
77-
uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
79+
uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
7880
with:
7981
sarif_file: ${{ steps.run-analysis.outputs.sarif }}

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- '*.md'
1313
- LICENSE
1414
- '.azuredevops/**'
15+
- '.github/*.md'
1516
- '.nuget/*'
1617
- build/*.cmd
1718
- build/*.json
@@ -24,6 +25,7 @@ on:
2425
- '*.md'
2526
- LICENSE
2627
- '.azuredevops/**'
28+
- '.github/*.md'
2729
- '.nuget/*'
2830
- build/*.cmd
2931
- build/*.json

0 commit comments

Comments
 (0)