diff --git a/.github/workflows/policy-reminder.yml b/.github/workflows/policy-reminder.yml new file mode 100644 index 0000000..35788f5 --- /dev/null +++ b/.github/workflows/policy-reminder.yml @@ -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);