Skip to content

Commit

Permalink
fix(ci): fix release step (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchrish authored Aug 8, 2024
1 parent aafa303 commit b42f399
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:

docs:
runs-on: ubuntu-latest
permissions:
contents: write
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
Expand All @@ -28,7 +30,7 @@ jobs:
version: "Vim 8.1 / Nvim v0.8.0"
treesitter: true
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(build): auto-generate vimdoc"
commit_user_name: "github-actions[bot]"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
make
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(build): rebuild artifacts"
commit_user_name: "github-actions[bot]"
Expand All @@ -68,6 +70,8 @@ jobs:

format:
runs-on: ubuntu-latest
permissions:
contents: write
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
Expand All @@ -94,6 +98,9 @@ jobs:

release:
name: release
permissions:
contents: write
pull-requests: write
if: ${{ github.ref == 'refs/heads/main' }}
needs:
- docs
Expand Down

0 comments on commit b42f399

Please sign in to comment.