fix(ci): fix release step (#185)
This commit is contained in:
committed by
GitHub
parent
aafa303ec3
commit
b42f3994a9
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -16,6 +16,8 @@ jobs:
|
|||||||
|
|
||||||
docs:
|
docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -28,7 +30,7 @@ jobs:
|
|||||||
version: "Vim 8.1 / Nvim v0.8.0"
|
version: "Vim 8.1 / Nvim v0.8.0"
|
||||||
treesitter: true
|
treesitter: true
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: "chore(build): auto-generate vimdoc"
|
commit_message: "chore(build): auto-generate vimdoc"
|
||||||
commit_user_name: "github-actions[bot]"
|
commit_user_name: "github-actions[bot]"
|
||||||
@@ -59,7 +61,7 @@ jobs:
|
|||||||
make
|
make
|
||||||
|
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: "chore(build): rebuild artifacts"
|
commit_message: "chore(build): rebuild artifacts"
|
||||||
commit_user_name: "github-actions[bot]"
|
commit_user_name: "github-actions[bot]"
|
||||||
@@ -68,6 +70,8 @@ jobs:
|
|||||||
|
|
||||||
format:
|
format:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -94,6 +98,9 @@ jobs:
|
|||||||
|
|
||||||
release:
|
release:
|
||||||
name: release
|
name: release
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
needs:
|
needs:
|
||||||
- docs
|
- docs
|
||||||
|
|||||||
Reference in New Issue
Block a user