File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Update copilot LSP
2
+
3
+ on :
4
+ schedule :
5
+ - cron : " 0 0 * * *"
6
+ push :
7
+ branches : [beta]
8
+
9
+ jobs :
10
+ update_copilot_lsp :
11
+ runs-on : ubuntu-latest
12
+ name : Update copilot LSP
13
+ steps :
14
+ - name : Checkout repository
15
+ uses : actions/checkout@v3
16
+
17
+ - name : Create directory
18
+ run : |
19
+ mkdir -p copilot/js
20
+
21
+ - name : Download latest LSP
22
+ run : |
23
+ curl -s https://api.github.com/repos/github/copilot-language-server-release/releases/latest | grep "browser_download_url.*copilot-language-server-js-.*zip" | cut -d : -f 2,3 | tr -d \" | wget -vi -
24
+
25
+ - name : Unzip LSP
26
+ run : |
27
+ unzip -o copilot-language-server-js-*.zip -d copilot/js
28
+ rm copilot-language-server-js-*.zip
29
+
30
+ - name : Create Pull Request
31
+ uses : peter-evans/create-pull-request@v4
32
+ with :
33
+ add-paths : " copilot/js/*"
34
+ author : github-actions[bot] <github-actions[bot]@users.noreply.github.com>
35
+ base : beta
36
+ branch : create-pull-request/update-copilot-lsp
37
+ commit-message : " feat: update to latest copilot LSP"
38
+ reviewers : MunifTanjim,zbirenbaum,AntoineGS
39
+ title : " Update copilot LSP"
Original file line number Diff line number Diff line change 1
- *
1
+ copilot-language-server- *
2
2
! .gitignore
3
3
! package.json
4
+
You can’t perform that action at this time.
0 commit comments