Based on:
Adds the action/checkout action to read the templated response file located at .github/ISSUE_COMMENT/comment.md
Then:
const issueBody = fs.readFileSync(".github/ISSUE_RESPONSES/comment.md", "utf8")
should probably be
const issueBody = fs.readFileSync(".github/ISSUE_COMMENT/comment.md", "utf8")
:dart: It seems like either the description or the GitHub Action code block needs to change to match the other. My example above changes the code block to be in sync with the comment/explanation.
Which of the MS Learn modules from the dropdown are you submitting an update request?
Automate GitHub by using GitHub Script
Additional information
Information about the requested update
module: Automate GitHub by using GitHub Script unit: Exercise - Using GitHub Script in GitHub Actions url: https://learn.microsoft.com/en-us/training/modules/automate-github-using-github-script/3-use-github-script
section: Use the Node.js environment
Based on:
Adds the action/checkout action to read the templated response file located at .github/ISSUE_COMMENT/comment.md
Then:
const issueBody = fs.readFileSync(".github/ISSUE_RESPONSES/comment.md", "utf8")
should probably beconst issueBody = fs.readFileSync(".github/ISSUE_COMMENT/comment.md", "utf8")
:dart: It seems like either the description or the GitHub Action code block needs to change to match the other. My example above changes the code block to be in sync with the comment/explanation.