mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-21 07:49:45 +00:00
feat: 优化 Issue GitHub Actions,当研发团队成员评论后再移除 待处理 标签(7)
This commit is contained in:
6
.github/workflows/issue-comment.yml
vendored
6
.github/workflows/issue-comment.yml
vendored
@@ -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 }}
|
||||
|
||||
|
Reference in New Issue
Block a user