Skip to content

Commit

Permalink
fix(ci): don't cancel CI on main branch (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
linrongbin16 committed Mar 17, 2024
1 parent 81fdfc9 commit 64886c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- main
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
cancel-in-progress: ${{ !contains(github.ref, 'main') }}
permissions:
contents: write
pull-requests: write
Expand Down Expand Up @@ -130,11 +130,8 @@ jobs:
- code_coverage
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: simple
package-name: fzfx.nvim
- uses: actions/checkout@v4
- uses: nvim-neorocks/luarocks-tag-release@v5
if: ${{ steps.release.outputs.release_created }}
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "5.8.0"
}
6 changes: 6 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"release-type": "simple",
"packages": {
".": {}
}
}

0 comments on commit 64886c5

Please sign in to comment.