Skip to content

Commit

Permalink
ci: skip release
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Dec 11, 2023
1 parent 3c4e7c1 commit 359e243
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: build
on:
push:
tags:
- 'v*'
branches: [main]
tags: [v*.*.*]
pull_request:
workflow_call:
inputs:
Expand All @@ -21,8 +21,7 @@ env:

jobs:
build:
if: |
${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}
if: ${{ !( github.workflow != 'build' && startsWith(github.event.head_commit.message, 'release:') && github.event.head_commit.author == 'github-actions[bot]' ) }}
permissions:
contents: write
strategy:
Expand Down

0 comments on commit 359e243

Please sign in to comment.