Skip to content

Commit fd72f5c

Browse files
committed
ci: create pr for updating to latest copilot/dist
1 parent 0ee5df0 commit fd72f5c

File tree

2 files changed

+37
-22
lines changed

2 files changed

+37
-22
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Update copilot/dist
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
push:
7+
branches: [master]
8+
9+
jobs:
10+
update_copilot_dist:
11+
runs-on: ubuntu-latest
12+
name: Update copilot/dist
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Checkout github/copilot.vim
18+
uses: actions/checkout@v3
19+
with:
20+
repository: github/copilot.vim
21+
fetch-depth: 1
22+
path: copilot.vim
23+
24+
- name: Copy latest copilot/dist
25+
run: |
26+
cp copilot.vim/copilot/dist/* copilot/dist/
27+
28+
- name: Create Pull Request
29+
uses: peter-evans/create-pull-request@v4
30+
with:
31+
add-paths: "copilot/dist/*"
32+
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
33+
base: master
34+
branch: create-pull-request/update-copilot-dist
35+
commit-message: "feat: update to latest copilot/dist"
36+
reviewers: MunifTanjim,zbirenbaum
37+
title: "Update copilot/dist"

.github/workflows/update.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)