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

This commit is contained in:
Bai
2023-06-29 16:41:50 +08:00
committed by Bryan
parent 0b92e43e20
commit adcabf69ed

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 }}