Skip to content

Commit

Permalink
Merge pull request #14 from TencentBlueKing/master
Browse files Browse the repository at this point in the history
Sync master to dev
  • Loading branch information
normal-wls authored Sep 10, 2024
2 parents e41bb81 + f40bbf0 commit 0355fb0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/pr-issue_management.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: PR and Issue Management

on:
- pull_request_target

jobs:
manage-pr-and-issue:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Extract issue ID and link PR to issue
if: github.event.action == 'opened' || github.event.action == 'reopened'
run: |
ISSUE_ID=$(echo "${{ github.event.pull_request.title }}" | grep -oE '#[0-9]+$' | sed 's/#//')
if [ ! -z "$ISSUE_ID" ]; then
echo "Issue ID: $ISSUE_ID"
gh api repos/${{ github.repository }}/issues/$ISSUE_ID/comments \
-F body="Linked to PR #${{ github.event.pull_request.number }}"
gh issue edit $ISSUE_ID --add-label "stage/for_test"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion docs/guide/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ BKFlow 服务是一款采用 Python 编写实现的 SaaS 平台产品,依赖
- [bkflow-engine](https://github.com/TencentBlueKing/bamboo-engine):一款基于事件驱动的通用流程引擎,用于任务的异步执行。
- [bkflow-dmn](https://github.com/TencentBlueKing/bkflow-dmn):一款基于 Python 的 DMN(Decision Model Notation) 库,使用 FEEL(Friendly Enough Expression Language) 作为描述语言,可以作为决策引擎,用于解决实际业务场景中的决策问题。
- [bkflow-feel](https://github.com/TencentBlueKing/bkflow-feel):一款基于 Python 的 FEEL (Friendly Enough Expression Language) 语法解析器,用于对 FEEL 语法表达式进行解析和运算,得到对应的 Python 对象作为计算结果。
- bkflow-django-webhook:一款支持系统快速集成 webhook 功能的 Django app。
- [bkflow-django-webhook](https://pypi.org/project/bkflow-django-webhook/):一款支持系统快速集成 webhook 功能的 Django app。

**依赖系统**
- 必要依赖
Expand Down
1 change: 1 addition & 0 deletions docs/guide/open_source.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
- 流程引擎: [bkflow-engine](https://github.com/TencentBlueKing/bamboo-engine)
- 决策引擎: [bkflow-dmn](https://github.com/TencentBlueKing/bkflow-dmn)
- FEEL 表达式解析器: [bkflow-feel](https://github.com/TencentBlueKing/bkflow-feel)
- Webhook Django App: [bkflow-django-webhook](https://pypi.org/project/bkflow-django-webhook/)

0 comments on commit 0355fb0

Please sign in to comment.