This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomee.git
commit 30a937b3fbc1a4bd0c86962f71b0cefb2ca57b20 Author: Richard Zowalla <[email protected]> AuthorDate: Thu Feb 17 08:46:49 2022 +0100 TOMEE-3842 - Separates GitHub actions in (a) push (b) pull requests configurations to allow for PRs targeting master created via automatic BOM generation --- .../{main.yml => main-pull-request-build.yml} | 29 ++-------------------- .../workflows/{main.yml => main-push-build.yml} | 3 --- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main-pull-request-build.yml similarity index 59% copy from .github/workflows/main.yml copy to .github/workflows/main-pull-request-build.yml index df019ab..7920f98 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main-pull-request-build.yml @@ -1,9 +1,6 @@ -name: CI Master +name: CI Pull Request Master on: - push: - branches: - - master pull_request: branches: - master @@ -33,26 +30,4 @@ jobs: - name: Compile with Sanity checks run: mvn help:system -U --show-version --fail-at-end clean install -DfailIfNoTests=false -DskipTests -Pstyle,rat env: - MAVEN_OPTS: -Xmx2048m - - # We have some LF vs CRLF files from the Tomcat ZIPs, so we need to convert them to avoid diffs in git - - name: Convert Config Files in BOM Module from CRLF to LF - run: find ./boms -type f -exec sed -i -e 's/\r$//' {} \; - - - name: Create Pull Request after BOM Regeneration - uses: peter-evans/create-pull-request@v3 - with: - base: master - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "Minor: Regenerated BOMs for ${{ github.sha }}" - committer: GitHub <[email protected]> - author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> - signoff: true - branch: regenerate_boms_after_dep_upgrade - delete-branch: true - title: "Regenerated BOMs after dependency upgrades" - body: | - Found some uncommited changes (from BOM regeneration) after running build on TomEE master - labels: | - dependencies - assignees: cesarhernandezgt,dblevins,jeanouii,jgallimore,rzo1 \ No newline at end of file + MAVEN_OPTS: -Xmx2048m \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main-push-build.yml similarity index 98% rename from .github/workflows/main.yml rename to .github/workflows/main-push-build.yml index df019ab..94f747a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main-push-build.yml @@ -4,9 +4,6 @@ on: push: branches: - master - pull_request: - branches: - - master workflow_dispatch: jobs:
