Files
FastDeploy/.github/workflows/ci_metax.yml
MingkunZhang 945a1bc4e2 [Metax] update ci name (#5679)
* [Metax] update ci name

* Update CI_METAX workflow for pull request handling

* Update ci_metax.yml

* Update CI_METAX workflow for pull request handling

* Remove commented-out code in run_ci_metax.sh

* Add environment to Jenkins trigger job

* Change trigger event from pull_request_target to pull_request

* Fix environment name casing in CI workflow

* Change environment name from Metax-ci to Metax_ci

* Modify CI_METAX workflow for PR targeting and concurrency

Updated workflow to use pull_request_target event and added concurrency settings.

---------

Co-authored-by: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com>
2025-12-23 14:00:48 +08:00

34 lines
779 B
YAML

name: CI_METAX
on:
pull_request_target:
types:
- opened
- synchronize
branches:
- develop
- release/**
permissions:
contents: read
concurrency:
group: jenkins-pr-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
trigger-jenkins:
name: Trigger Jenkins for PR
runs-on: ubuntu-latest
environment: Metax_ci
steps:
- name: Trigger Jenkins job
uses: MetaX-MACA/simple-jenkins-githubaction@v1.0
with:
job_name: paddle_fastdeploy_metax_smoketest
username: fastdeploy_builder
api_token: ${{ secrets.METAX_JENKINS_API_TOKEN }}
pr_num: ${{ github.event.pull_request.number }}
project_branch: ${{ github.event.pull_request.head.ref }}