-
-
Notifications
You must be signed in to change notification settings - Fork 144
43 lines (39 loc) · 1.16 KB
/
ci.yml
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
38
39
40
41
42
43
name: CI
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
pull-requests: write
# TODO: this conflicts with format.yml
jobs:
# sync-readme:
# name: sync readme codes
# runs-on: ubuntu-latest
# timeout-minutes: 5
# steps:
# - uses: actions/checkout@v4
# - name: run substitution
# run: |
# vimcmd="/default-config:start/+1,/default-config:end/-1y a |\
# e README.md |\
# /default-config:start/+2,/default-config:end/-2d |\
# /default-config:start/+1put a |\
# wq"; vim lua/rest-nvim/config/default.lua -c "$vimcmd"
# - name: Commit changes
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: "docs: update README default config section"
# branch: ${{ github.ref }}
release:
name: release
runs-on: ubuntu-latest
# needs: [sync-readme]
steps:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.CI_TOKEN }}
config-file: .github/release-please-config.json
manifest-file: .github/.release-please-manifest.json