Skip to content

Commit e5bb769

Browse files
authored
Merge pull request #528 from microsoft/ntrappe-bot
add workflow to remind users of support policy [may revoke if doesn't work correctly]
2 parents eabfe07 + e7dbbba commit e5bb769

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Policy Reminder
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
policy-reminder:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Remind New Issues of Support Policy
12+
uses: actions/github-script@v6
13+
with:
14+
script: |
15+
const issueComment = context.issue({
16+
body: `Thank you for creating an issue. Please note that GitHub is not an official
17+
channel for Microsoft support requests. To create an official support request,
18+
please open a ticket
19+
[here](https://learn.microsoft.com/en-us/services-hub/unified/support/open-support-requests).
20+
Microsoft and the GitHub community strive to provide a best effort in answering
21+
questions and supporting Issues on GitHub.`
22+
});
23+
github.issues.createComment(issueComment);

0 commit comments

Comments
 (0)