feat: 优化 Issue GitHub Actions,当研发团队成员评论后再移除 待处理 标签(10)

pull/10869/head
Bai 1 year ago committed by Bryan
parent ac0a673818
commit 3c707996e0

@ -29,7 +29,7 @@ jobs:
- name: Get Organization 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
uses: octokit/request-action@v2.x
@ -42,7 +42,8 @@ jobs:
- name: Process public members data
# 将 members 中的数据转化为 login 字段的拼接字符串
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 member names: '${{ steps.member_names.outputs.data }}'"

Loading…
Cancel
Save