Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit 76d42b2

Browse files
committed
ci(workflow): add release please action
1 parent e47c3a3 commit 76d42b2

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.ci/detach_plugin.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ main () {
156156
_detact_bundle $1 lua/plug/ui.lua
157157
_checkdir test
158158
_detact_bundle $1 test/init.lua
159+
_checkdir .github/workflows/
160+
_detact_bundle $1 .github/workflows/release-please.yml
159161
;;
160162
format.nvim)
161163
git clone https://github.com/wsdjeg/format.nvim.git detach/$1
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
name: release-please
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: googleapis/release-please-action@v4
17+
with:
18+
# this assumes that you have created a personal access token
19+
# (PAT) and configured it as a GitHub action secret named
20+
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
21+
token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
22+
# this is a built-in strategy in release-please, see "Action Inputs"
23+
# for more options
24+
release-type: simple

0 commit comments

Comments
 (0)