mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 09:44:22 +03:00
Add begin PR comment when /accept
This commit is contained in:
parent
a94c0197a7
commit
2497befab2
6
.github/workflows/accept-pull-request.yml
vendored
6
.github/workflows/accept-pull-request.yml
vendored
@ -50,6 +50,12 @@ jobs:
|
||||
ref: ${{ env.BASE_REF }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Notify user
|
||||
run: |
|
||||
order="${{ github.event.comment.body }}"
|
||||
comment="🕗 [${order}](${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}) is running, please wait for completion."
|
||||
gh pr comment "${PR_NUMBER}" --body "${comment}"
|
||||
|
||||
- name: Check comment user permission
|
||||
run: |
|
||||
comment_user_permission=$(gh api repos/"${OWNER}"/"${REPO}"/collaborators/"${COMMENT_USER_LOGIN}"/permission -q .permission)
|
||||
|
Loading…
Reference in New Issue
Block a user