This is an automated email from the ASF dual-hosted git repository.

davidarthur pushed a commit to branch switch-workflows
in repository https://gitbox.apache.org/repos/asf/kafka-merge-queue-sandbox.git

commit 679b4f62df6043612748f9aa2108ed85c688330e
Author: David Arthur <[email protected]>
AuthorDate: Thu Feb 13 13:03:36 2025 -0500

    switch jobs
---
 .github/workflows/ci.yml          | 35 +++--------------------------------
 .github/workflows/merge-queue.yml | 26 --------------------------
 2 files changed, 3 insertions(+), 58 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5c38e80..6a65ad0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,26 +13,15 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-name: CI
+name: Validate Patch
 
 on:
-  push:
-    branches:
-      - 'trunk'
-      - '4.0'
-
-  schedule:
-    - cron: '0 0 * * 6,0'    # Run on Saturday and Sunday at midnight UTC
-
   pull_request:
     types: [ opened, synchronize, ready_for_review, reopened ]
-    branches:
-      - 'trunk'
-      - '4.0'
+    branches: ["main"]
 
   merge_group:
-    types: 
-      - checks_requested
+    types: [checks_requested]
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.event.pull_request.number || 
github.ref }}
@@ -40,24 +29,6 @@ concurrency:
 
 jobs:
   validate-patch:
-    runs-on: ubuntu-latest
-    steps:
-    - name: Checkout code
-      uses: actions/checkout@v3
-      with:
-        fetch-depth: 0
-    - name: Display info
-      run: |
-        pwd
-        tree -a -I '.git'
-        echo "Action: ${{ github.event.action }}"
-        echo "Sender: ${{ github.event.sender.login }}"
-        git status
-        git log origin/main..HEAD
-    - name: Validate files
-      run: sleep 5
-
-  build:
     uses: ./.github/workflows/build.yml
     with:
       is-trunk: ${{ github.ref == 'refs/heads/trunk' }}
diff --git a/.github/workflows/merge-queue.yml 
b/.github/workflows/merge-queue.yml
deleted file mode 100644
index d43b5e4..0000000
--- a/.github/workflows/merge-queue.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-name: Validate Patch
-
-on:
-  pull_request:
-    branches: [ "main" ]
-  merge_group:
-    types: [checks_requested]
-
-jobs:
-  validate-patch:
-    runs-on: ubuntu-latest
-    steps:
-    - name: Checkout code
-      uses: actions/checkout@v3
-      with:
-        fetch-depth: 0
-    - name: Display info
-      run: | 
-        pwd
-        tree -a -I '.git'
-        echo "Action: ${{ github.event.action }}"
-        echo "Sender: ${{ github.event.sender.login }}"
-        git status
-        git log origin/main..HEAD
-    - name: Validate files
-      run: sleep 5

Reply via email to