Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): add auto pr ci #134

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/auto-pr-tdesign-miniprogram.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: auto-pr-tdesign-miniprogram

on:
pull_request:
branches: [develop]
types: [closed]
paths:
- "packages/vue-next/package.json"
jobs:
auto-pr:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Auto PR tdesign-miniprogram
uses: TDesignOteam//tdesign-pr-trigger-action@develop
env:
GITHUB_TOKEN: ${{ secrets.TDESIGN_BOT_TOKEN }}
with:
pr_number: ${{ github.event.pull_request.number }}
comment: /pr-miniprogram
20 changes: 20 additions & 0 deletions .github/workflows/auto-pr-tdesign-moible-react.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: auto-pr-tdesign-mobile-react

on:
pull_request:
branches: [develop]
types: [closed]
paths:
- "packages/react/package.json"
jobs:
auto-pr:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Auto PR tdesign-mobile-react
uses: TDesignOteam//tdesign-pr-trigger-action@develop
env:
GITHUB_TOKEN: ${{ secrets.TDESIGN_BOT_TOKEN }}
with:
pr_number: ${{ github.event.pull_request.number }}
comment: /pr-mobile-react
20 changes: 20 additions & 0 deletions .github/workflows/auto-pr-tdesign-moible-vue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: auto-pr-tdesign-mobile-vue

on:
pull_request:
branches: [develop]
types: [closed]
paths:
- "packages/vue-next/package.json"
jobs:
auto-pr:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Auto PR tdesign-vue
uses: TDesignOteam//tdesign-pr-trigger-action@develop
env:
GITHUB_TOKEN: ${{ secrets.TDESIGN_BOT_TOKEN }}
with:
pr_number: ${{ github.event.pull_request.number }}
comment: /pr-mobile-vue
20 changes: 20 additions & 0 deletions .github/workflows/auto-pr-tdesign-react.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: auto-pr-tdesign-react

on:
pull_request:
branches: [develop]
types: [closed]
paths:
- "packages/react/package.json"
jobs:
auto-pr:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Auto PR tdesign-vue
uses: TDesignOteam//tdesign-pr-trigger-action@develop
env:
GITHUB_TOKEN: ${{ secrets.TDESIGN_BOT_TOKEN }}
with:
pr_number: ${{ github.event.pull_request.number }}
comment: /pr-react
20 changes: 20 additions & 0 deletions .github/workflows/auto-pr-tdesign-vue-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: auto-pr-tdesign-vue-next

on:
pull_request:
branches: [develop]
types: [closed]
paths:
- "packages/vue-next/package.json"
jobs:
auto-pr:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Auto PR tdesign-vue-next
uses: TDesignOteam//tdesign-pr-trigger-action@develop
env:
GITHUB_TOKEN: ${{ secrets.TDESIGN_BOT_TOKEN }}
with:
pr_number: ${{ github.event.pull_request.number }}
comment: /pr-vue-next
20 changes: 20 additions & 0 deletions .github/workflows/auto-pr-tdesign-vue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: auto-pr-tdesign-vue

on:
pull_request:
branches: [develop]
types: [closed]
paths:
- "packages/vue/package.json"
jobs:
auto-pr:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Auto PR tdesign-vue
uses: TDesignOteam//tdesign-pr-trigger-action@develop
env:
GITHUB_TOKEN: ${{ secrets.TDESIGN_BOT_TOKEN }}
with:
pr_number: ${{ github.event.pull_request.number }}
comment: /pr-vue
Loading