Skip to content

Commit 81f849d

Browse files
authored
chore: update github workflows (#248)
1 parent a6b1c8b commit 81f849d

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- README.md
9+
- .github/workflows/panvimdoc.yml
710

811
permissions:
912
pull-requests: write
@@ -24,7 +27,7 @@ jobs:
2427
demojify: true
2528

2629
- name: create pull request
27-
uses: peter-evans/create-pull-request@v5
30+
uses: peter-evans/create-pull-request@v6
2831
with:
2932
base: "main"
3033
commit-message: "chore(doc): automatic vimdoc update"

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Lint
22

33
on:
44
push:
5+
branches:
6+
- "main"
57
pull_request:
68

79
jobs:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
name: release
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: google-github-actions/release-please-action@v4
16+
- uses: googleapis/release-please-action@v4
1717
with:
1818
release-type: simple

.github/workflows/stylua.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ name: Stylua
22

33
on:
44
push:
5+
branches:
6+
- "main"
57
pull_request:
68

79
jobs:
810
stylua:
911
runs-on: ubuntu-latest
1012
steps:
1113
- uses: actions/checkout@v4
12-
- uses: JohnnyMorganz/stylua-action@v3
14+
- uses: JohnnyMorganz/stylua-action@v4
1315
with:
16+
token: ${{ secrets.GITHUB_TOKEN }}
1417
version: latest
1518
args: --color always --check lua

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Test
22

33
on:
44
push:
5+
branches:
6+
- "main"
57
pull_request:
68

79
jobs:

0 commit comments

Comments
 (0)