mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 08:19:04 +00:00
feat: 优化 Issue GitHub Actions,当研发团队成员评论后再移除 待处理 标签(10)
This commit is contained in:
5
.github/workflows/issue-comment.yml
vendored
5
.github/workflows/issue-comment.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get Organization name
|
- name: Get Organization name
|
||||||
id: org_name
|
id: org_name
|
||||||
run: echo "::set-output name=data::$(echo '${{ github.repository }}' | cut -d '/' -f 1)"
|
run: echo "{data}=$(echo '${{ github.repository }}' | cut -d '/' -f 1)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Get Organization public members
|
- name: Get Organization public members
|
||||||
uses: octokit/request-action@v2.x
|
uses: octokit/request-action@v2.x
|
||||||
@@ -42,7 +42,8 @@ jobs:
|
|||||||
- name: Process public members data
|
- name: Process public members data
|
||||||
# 将 members 中的数据转化为 login 字段的拼接字符串
|
# 将 members 中的数据转化为 login 字段的拼接字符串
|
||||||
id: member_names
|
id: member_names
|
||||||
run: echo "::set-output name=data::$(echo '${{ steps.members.outputs.data }}' | jq '[.[].login] | join(",")')"
|
run: echo "{data}=$(echo '${{ steps.members.outputs.data }}' | jq '[.[].login] | join(",")')" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|
||||||
- run: "echo members: '${{ steps.members.outputs.data }}'"
|
- run: "echo members: '${{ steps.members.outputs.data }}'"
|
||||||
- run: "echo member names: '${{ steps.member_names.outputs.data }}'"
|
- run: "echo member names: '${{ steps.member_names.outputs.data }}'"
|
||||||
|
Reference in New Issue
Block a user