bug: Mock PR body in test

* Mock body to get consistent testing
* Fix lint warnings
This commit is contained in:
Thomas Ruggeri
2025-12-22 20:31:50 +00:00
parent 99c27add52
commit 33c7a0bfc8
4 changed files with 26 additions and 15 deletions

2
dist/index.js generated vendored
View File

@@ -10497,9 +10497,7 @@ const util = __importStar(__nccwpck_require__(9180));
async function run() {
const token = core.getInput('github-token');
if (!token) {
/* eslint-disable no-template-curly-in-string */
core.setFailed('github-token is not set! Please add \'github-token: "${{ secrets.GITHUB_TOKEN }}"\' to your workflow file.');
/* eslint-enable no-template-curly-in-string */
return;
}
try {