* Update needs-sme-workflow.yml

* Update needs-sme-workflow.yml

edited if condition
This commit is contained in:
Ramya Parimi 2022-04-11 13:14:55 -05:00 коммит произвёл GitHub
Родитель 74c6fb331c
Коммит 16f030b5c8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 7 добавлений и 2 удалений

9
.github/workflows/needs-sme-workflow.yml поставляемый
Просмотреть файл

@ -15,7 +15,7 @@ permissions:
pull-requests: write
jobs:
add-comment:
add-issue-comment:
if: ${{ github.repository == 'github/docs' && (github.event.label.name == 'needs SME' && github.event_name == 'issues' || github.event_name == 'pull_request_target') }}
runs-on: ubuntu-latest
steps:
@ -24,8 +24,13 @@ jobs:
issue-number: ${{ github.event.issue.number }}
body: |
Thanks for opening an issue! We've triaged this issue for technical review by a subject matter expert :eyes:
add-pr-comment:
if: ${{ github.repository == 'github/docs' && github.event.label.name == 'needs SME' }}
runs-on: ubuntu-latest
steps:
- uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae
with:
issue-number: ${{ github.event.pull_request_target.number }}
issue-number: ${{ github.event.pull_request.number }}
body: |
Thanks for opening a pull request! We've triaged this issue for technical review by a subject matter expert :eyes: