Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
chore: use bump snapshot version
Browse files Browse the repository at this point in the history
  • Loading branch information
ex0b1t committed Nov 15, 2022
1 parent 25daf12 commit ae77457
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,4 @@ jobs:
- name: Maven Verify
run: mvn -B verify --file pom.xml
- name: Maven Dependency Tree Dependency Submission
uses: advanced-security/[email protected]
- name: Update POM Version
run: |
mvn org.codehaus.mojo:versions-maven-plugin:2.13.0:set -DnextSnapshot=true -DnextSnapshotIndexToIncrement=2 -DgenerateBackupPoms=false
- name: Create Bump Pull Request
uses: peter-evans/[email protected]
with:
title: "ci: bump pom snapshot version"
body: "Bumps pom snapshot version"
commit-message: "ci: bump pom snapshot version"
committer: GitHub <[email protected]>
author: GitHub <[email protected]>
delete-branch: true
assignees: ${{ github.actor }}
branch-suffix: short-commit-hash
branch: "feature/bump"
base: main
uses: advanced-security/[email protected]
17 changes: 16 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,19 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker Build
run: mvn package -Dmaven.test.skip.exec=true -P docker-image -Djib.to.image=${REGISTRY}/backbase/${GITHUB_REPOSITORY##*/}:${GITHUB_REF##*v}
run: mvn package -Dmaven.test.skip.exec=true -P docker-image -Djib.to.image=${REGISTRY}/backbase/${GITHUB_REPOSITORY##*/}:${GITHUB_REF##*v}
- name: Bump POM Version
run: |
mvn org.codehaus.mojo:versions-maven-plugin:2.13.0:set -DnextSnapshot=true -DnextSnapshotIndexToIncrement=2 -DgenerateBackupPoms=false
- name: Create Bump Pull Request
uses: peter-evans/[email protected]
with:
title: "ci: bump pom snapshot version"
body: "Bumps pom snapshot version"
commit-message: "ci: bump pom snapshot version"
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
delete-branch: true
assignees: ${{ github.actor }}
branch-suffix: short-commit-hash
branch: "feature/bump-version"
base: main
4 changes: 1 addition & 3 deletions .github/workflows/secrets.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Find secrets

on:
push: [ branches ]
pull_request: [ branches ]
on: [ push, pull_request ]

jobs:
gitleaks:
Expand Down

0 comments on commit ae77457

Please sign in to comment.