From b26e232816fdeb328591f8480274b6808b440782 Mon Sep 17 00:00:00 2001 From: Achim Reeh Date: Sun, 21 Sep 2025 19:44:44 +0200 Subject: [PATCH 1/2] Update build.yml to execute it via Run Workflow --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 82a3e25..e58395d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,7 @@ name: Run MUnit Tests on: pull_request: branches: [ "main" ] + workflow_dispatch: jobs: build: From d0063ad5089164d3e09dec9f502c34d553bd09c6 Mon Sep 17 00:00:00 2001 From: Achim Reeh Date: Sun, 21 Sep 2025 19:46:52 +0200 Subject: [PATCH 2/2] Delete .github/workflows/build-and-test-from-comment.yml --- .../workflows/build-and-test-from-comment.yml | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/build-and-test-from-comment.yml diff --git a/.github/workflows/build-and-test-from-comment.yml b/.github/workflows/build-and-test-from-comment.yml deleted file mode 100644 index 7ff471a..0000000 --- a/.github/workflows/build-and-test-from-comment.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Build and Test from PR Comment - -on: - issue_comment: - types: [created] - -jobs: - build-and-test-from-comment: - if: | - github.event.issue.pull_request - && startsWith(github.event.comment.body, '/run-tests') - && (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER') - - runs-on: ubuntu-latest - - steps: - - name: Checkout PR Head - uses: actions/checkout@v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'temurin' - cache: maven - - - name: maven-settings-action - uses: s4u/maven-settings-action@894661b3ddae382f1ae8edbeab60987e08cf0788 # commit hash references to v4.0.0 - with: - servers: '[{"id": "mulesoft-ee-releases", "username": "${env.MULE_REPO_USER}", "password": "${env.MULE_REPO_PASSWORD}"}]' - repositories: '[{"id": "mulesoft-ee-releases", "name": "MuleSoft EE Releases", "url": "https://repository.mulesoft.org/nexus-ee/content/repositories/releases-ee/"}]' - - - name: Build and test - env: - MULE_REPO_USER: ${{ secrets.MULE_REPO_USER }} - MULE_REPO_PASSWORD: ${{ secrets.MULE_REPO_PASSWORD }} - run: mvn -B clean verify