forked from zbirenbaum/copilot.lua
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 1003 Bytes
/
update-copilot-dist.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Update copilot/dist
on:
schedule:
- cron: '0 0 * * *'
push:
branches: [master]
jobs:
update_copilot_dist:
runs-on: ubuntu-latest
name: Update copilot/dist
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout github/copilot.vim
uses: actions/checkout@v3
with:
repository: github/copilot.vim
fetch-depth: 1
path: copilot.vim
- name: Copy latest copilot.vim/dist
run: |
cp -r copilot.vim/dist/* copilot/dist/
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
add-paths: "copilot/dist/*"
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
base: master
branch: create-pull-request/update-copilot-dist
commit-message: "feat: update to latest copilot.vim/dist"
reviewers: MunifTanjim,zbirenbaum
title: "Update copilot.vim/dist"