File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 : Change directory
18+ run : |
19+ mkdir -p copilot/js
20+ cd copilot/js
21+
22+ - name : Download latest LSP
23+ run : |
24+ 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 -
25+
26+ - name : Unzip LSP
27+ run : |
28+ unzip -o copilot-language-server-js-*.zip
29+ rm copilot-language-server-js-*.zip
30+
31+ - name : Create Pull Request
32+ uses : peter-evans/create-pull-request@v4
33+ with :
34+ add-paths : " copilot/js/*"
35+ author : github-actions[bot] <github-actions[bot]@users.noreply.github.com>
36+ base : beta
37+ branch : create-pull-request/update-copilot-lsp
38+ commit-message : " feat: update to latest copilot LSP"
39+ reviewers : MunifTanjim,zbirenbaum,AntoineGS
40+ title : " Update copilot LSP"
Original file line number Diff line number Diff line change 1- *
1+ copilot-language-server- *
22! .gitignore
33! package.json
4+
You can’t perform that action at this time.
0 commit comments