We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2da6e46 commit ffe844dCopy full SHA for ffe844d
.github/workflows/build-deploy-app.yml
@@ -13,8 +13,9 @@ on:
13
jobs:
14
build-push:
15
name: Build and push to registries
16
- # If triggering event is release, the commits on 'master' should build
17
- # the image
+ # When releasing, the Maven release plugin will create two commits -
+ # we only want this job to run once, so we exclude one of the commits.
18
+ if: ! contains(${{ github.event.head_commit.message }}, "prepare for next development iteration")
19
runs-on: ubuntu-latest
20
permissions:
21
contents: read
0 commit comments