Skip to content

Commit d666046

Browse files
committed
check out the G2 repo for copilot
1 parent da90eb7 commit d666046

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
^package\.json$
88
^package-lock\.json$
99
^examples$
10+
^G2$

.github/copilot-instructions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ in headless browsers (Playwright or Puppeteer) and attach them to the PR.
9797

9898
### G2 Reference
9999

100-
When in doubt about G2 features, marks, or coordinate systems, always refer to:
100+
When dealing with issues that you cannot solve easily, you should dig into G2's
101+
source code and documentation, which have been checked out to the directory `G2`
102+
under the root directory for you. Use that as the source of truth.
103+
101104
- **G2 source repository**: https://github.com/antvis/G2
102105
- **G2 documentation site**: https://g2.antv.antgroup.com
103106

.github/workflows/copilot-setup-steps.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
- name: Checkout code
2121
uses: actions/checkout@HEAD
2222

23+
- name: Checkout G2
24+
uses: actions/checkout@HEAD
25+
with:
26+
repository: antvis/G2
27+
path: G2
28+
2329
- name: Install R
2430
uses: r-lib/actions/setup-r@HEAD
2531
with:

0 commit comments

Comments
 (0)