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

pull/10866/head
Bai 2023-06-29 16:41:50 +08:00 committed by Bryan
parent 0b92e43e20
commit adcabf69ed
1 changed files with 5 additions and 1 deletions

View File

@ -27,11 +27,15 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- name: Get Organization name
id: org_name
run: echo "::set-output name=data::$(echo '${{ github.repository }}' | cut -d '/' -f 1)"
- name: Get Project Developers
uses: octokit/request-action@v2.x
id: developers
with:
route: GET /repos/${${{ github.repository }}%%/*}/collaborators
route: GET /orgs/${{ steps.org_name.outputs.data }}/members
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}