Merge pull request #528 from microsoft/ntrappe-bot

add workflow to remind users of support policy [may revoke if doesn't work correctly]
This commit is contained in:
Nicole Trappe 2024-09-06 10:19:13 -07:00 коммит произвёл GitHub
Родитель eabfe078dd e7dbbbafd8
Коммит e5bb7696d8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 23 добавлений и 0 удалений

23
.github/workflows/policy-reminder.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,23 @@
name: Policy Reminder
on:
issues:
types: [opened]
jobs:
policy-reminder:
runs-on: ubuntu-latest
steps:
- name: Remind New Issues of Support Policy
uses: actions/github-script@v6
with:
script: |
const issueComment = context.issue({
body: `Thank you for creating an issue. Please note that GitHub is not an official
channel for Microsoft support requests. To create an official support request,
please open a ticket
[here](https://learn.microsoft.com/en-us/services-hub/unified/support/open-support-requests).
Microsoft and the GitHub community strive to provide a best effort in answering
questions and supporting Issues on GitHub.`
});
github.issues.createComment(issueComment);