File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77jobs :
88 policy-reminder :
99 runs-on : ubuntu-latest
10+ permissions :
11+ issues : write
1012 steps :
1113 - 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);
14+ run : gh issue comment "$NUMBER" --body "$BODY"
15+ env :
16+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17+ GH_REPO : ${{ github.repository }}
18+ NUMBER : ${{ github.event.issue.number }}
19+ BODY : >
20+ **Thank you for creating an Issue**. Please note that GitHub is not an official
21+ channel for Microsoft support requests. To create an official support request,
22+ please open a ticket [here](https://learn.microsoft.com/en-us/services-hub/unified/support/open-support-requests).
23+ Microsoft and the GitHub Community strive to provide a best effort in answering
24+ questions and supporting Issues on GitHub.
You can’t perform that action at this time.
0 commit comments