diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0240b82..565c3c8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,20 +32,4 @@ jobs: - name: Maven Verify run: mvn -B verify --file pom.xml - name: Maven Dependency Tree Dependency Submission - uses: advanced-security/maven-dependency-submission-action@v2.0.1 - - 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/create-pull-request@v4.2.0 - with: - title: "ci: bump pom snapshot version" - body: "Bumps pom snapshot version" - commit-message: "ci: bump pom snapshot version" - committer: GitHub - author: GitHub - delete-branch: true - assignees: ${{ github.actor }} - branch-suffix: short-commit-hash - branch: "feature/bump" - base: main \ No newline at end of file + uses: advanced-security/maven-dependency-submission-action@v2.0.1 \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fdd0b51..dcf4b7c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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} \ No newline at end of file + 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/create-pull-request@v4.2.0 + 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 \ No newline at end of file diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index 929e4e2..22009ed 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -1,8 +1,6 @@ name: Find secrets -on: - push: [ branches ] - pull_request: [ branches ] +on: [ push, pull_request ] jobs: gitleaks: