Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Nov 28, 2023
1 parent 7d683be commit c32de55
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,22 @@ jobs:
- name: Generate code and comment by terra
uses: AgoraIO-Extensions/actions/.github/actions/generate@generate
with:
github-token: ${{ secrets.GH_TOKEN }}
target-repo: ${{ github.workspace }}
target-branch: ${{ github.ref_name }}
target-branch-name-surffix: doc-update
generate-code: false
generate-comment: true
generate-comment-command: |
sh generate-comment.sh
- name: Create pull request
uses: AgoraIO-Extensions/actions/.github/actions/pr@main
with:
github-token: ${{ secrets.GH_TOKEN }}
target-repo: ${{ github.workspace }}
target-branch: ${{ github.ref_name }}
target-branch-name-surffix: doc-update
pull-request-title: |
[AUTO] Generate comments by iris-doc
pull-request-body: |
Doc source:
https://github.com/AgoraIO/agora_doc_source/releases/download/master-build/electron_ng_json_template_en.json
add-paths: ts
13 changes: 9 additions & 4 deletions .github/workflows/terra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,20 @@ jobs:
- name: Generate code and comment by terra
uses: AgoraIO-Extensions/actions/.github/actions/generate@generate
with:
github-token: ${{ secrets.GH_TOKEN }}
target-repo: ${{ github.workspace }}
target-branch: ${{ github.ref_name }}
target-branch-name-surffix: terra-update
generate-code: true
generate-comment: true
generate-code-command: |
sh generate-code.sh
generate-comment-command: |
sh generate-comment.sh
- name: Create pull request
uses: AgoraIO-Extensions/actions/.github/actions/pr@main
with:
github-token: ${{ secrets.GH_TOKEN }}
target-repo: ${{ github.workspace }}
target-branch: ${{ github.ref_name }}
target-branch-name-surffix: terra-update
pull-request-title: |
[AUTO] Generate codes by terra
add-paths: ts

0 comments on commit c32de55

Please sign in to comment.