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

shuke987 pushed a commit to branch trino-435
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git


The following commit(s) were added to refs/heads/trino-435 by this push:
     new 866ff1af350 [ci] Remove Trino pull_request_target workflows (#439)
866ff1af350 is described below

commit 866ff1af350af6f33bfac53f42b3a7debfa2977f
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Thu Nov 26 14:30:24 2026 +0800

    [ci] Remove Trino pull_request_target workflows (#439)
    
    Co-authored-by: morningman <[email protected]>
---
 .github/workflows/cleanup.yml | 22 ----------------------
 .github/workflows/labeler.yml | 22 ----------------------
 2 files changed, 44 deletions(-)

diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml
deleted file mode 100644
index 9894697b2f4..00000000000
--- a/.github/workflows/cleanup.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-name: cleanup
-
-on:
-  # Triggered on every PR merge or close (but with the code and workflow as 
present in the base of the merge instead of the merge commmit)
-  pull_request_target:
-    types:
-      - closed
-
-# NOTE: Do not check out/execute code from the PR since a read-write token is 
present due to pull_request_target
-jobs:
-  cancel:
-    runs-on: ubuntu-latest
-    timeout-minutes: 5
-    steps:
-      - name: 'Cancel Runs For Closed PRs'
-        uses: styfle/[email protected]
-        with:
-          # Cancel workflow when PR closed. 
https://github.com/styfle/cancel-workflow-action#advanced-ignore-sha
-          ignore_sha: true
-          # Note: workflow_id can be a Workflow ID (number) or Workflow File 
Name (string) or a comma-separated list of those.
-          workflow_id: "ci.yml,docs.yml"
-          access_token: ${{ github.token }}
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
deleted file mode 100644
index 7b15a2a5c35..00000000000
--- a/.github/workflows/labeler.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-name: "Pull Request Labeler"
-
-on:
-  pull_request_target:
-
-permissions:
-  contents: read
-  pull-requests: write
-
-# NOTE: Do not check out/execute code from the PR since a read-write token is 
present due to pull_request_target
-jobs:
-  triage:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/labeler@v4
-        with:
-          repo-token: "${{ secrets.GITHUB_TOKEN }}"
-          # Do not sync labels as this reverts manually added "tests:hive" 
label.
-          # Syncing labels requires that we define "components" labels.
-          # See 
https://github.com/actions/labeler/issues/112#issuecomment-999953377 for why an 
empty string instead of false.
-          sync-labels: ''
-          configuration-path: .github/config/labeler-config.yml


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to