From 4b7167ce8d128dc9fe29d248bb840fa18538bd96 Mon Sep 17 00:00:00 2001 From: "pengshixin.psx" Date: Mon, 9 Mar 2026 02:58:10 +0000 Subject: [PATCH] ci: remove CI request trigger workflow file --- .github/workflows/CI-request-trigger.yml | 49 ------------------------ 1 file changed, 49 deletions(-) delete mode 100644 .github/workflows/CI-request-trigger.yml diff --git a/.github/workflows/CI-request-trigger.yml b/.github/workflows/CI-request-trigger.yml deleted file mode 100644 index 319c205d2..000000000 --- a/.github/workflows/CI-request-trigger.yml +++ /dev/null @@ -1,49 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: CI Request Trigger - -# Controls when the workflow will run -on: - pull_request: - branches: [ "master" ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number }} - cancel-in-progress: true - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - # work on CI script dir - defaults: - run: - working-directory: .github/scripts - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # Runs trigger CI - - name: Make the script files executable - run: chmod +x trigger-CI.sh get-CI-result.sh - - name: trigger a CI - run: | - COMMIT_ID=$([ "${{ github.event_name }}" == "pull_request" ] && echo "${{ github.event.pull_request.head.sha }}" || echo "${{ github.sha }}") - echo "Using Commit ID: $COMMIT_ID" - echo "$GITHUB_REF" - PR_ID=$(echo "$GITHUB_REF" | sed 's@refs/pull/\([0-9]\+\)/.*@\1@') - echo "PR ID is $PR_ID" - ./trigger-CI.sh "$COMMIT_ID" "${{ secrets.CI_SECRET }}" "${{ github.event.pull_request.head.repo.clone_url }}" "$PR_ID" - - # Runs get CI result - - name: Get CI result - run: | - COMMIT_ID=$([ "${{ github.event_name }}" == "pull_request" ] && echo "${{ github.event.pull_request.head.sha }}" || echo "${{ github.sha }}") - echo "Using Commit ID: $COMMIT_ID" - ./get-CI-result.sh "$COMMIT_ID" "${{ secrets.CI_SECRET }}" "${{ github.repository }}" \ No newline at end of file