mirror of https://github.com/jumpserver/jumpserver
feat: 优化 Issue GitHub Actions,当研发团队成员评论后再移除 待处理 标签(8)
parent
adcabf69ed
commit
1ed6c7e01d
|
@ -35,12 +35,12 @@ jobs:
|
||||||
uses: octokit/request-action@v2.x
|
uses: octokit/request-action@v2.x
|
||||||
id: developers
|
id: developers
|
||||||
with:
|
with:
|
||||||
route: GET /orgs/${{ steps.org_name.outputs.data }}/members
|
route: GET /orgs/${{ steps.org_name.outputs.data }}/public_members
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Process developers data
|
- name: Process developers data
|
||||||
# 将 developers 中的数据转化为 login 字段的列表并输出
|
# 将 developers 中的数据转化为 login 字段的拼接字符串
|
||||||
id: developer_names
|
id: developer_names
|
||||||
run: echo "::set-output name=data::$(echo '${{ steps.developers.outputs.data }}' | jq '[.[].login] | join(",")')"
|
run: echo "::set-output name=data::$(echo '${{ steps.developers.outputs.data }}' | jq '[.[].login] | join(",")')"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue