mirror of
https://github.com/dependabot/fetch-metadata.git
synced 2026-03-12 18:07:12 -04:00
bug: Mock PR body in test
* Mock body to get consistent testing * Fix lint warnings
This commit is contained in:
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user