We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11e451 commit e38ad67Copy full SHA for e38ad67
.github/workflows/github-actions-ansible-lint.yml
@@ -52,7 +52,7 @@ jobs:
52
uses: actions/github-script@v6
53
with:
54
script: |
55
- const core = require('@actions/core');
+ const coreLib = require('@actions/core');
56
const pr = await github.rest.pulls.get({
57
owner: context.repo.owner,
58
repo: context.repo.repo,
@@ -65,6 +65,6 @@ jobs:
65
"Checklist",
66
];
67
const missingSections = requiredSections.filter(section => !body.includes(section));
68
- if(missingSections.length > 0) {
69
- core.setFailed(`PR Description is missing the following sections: ${missingSections.join(", ")}`);
+ if (missingSections.length > 0) {
+ coreLib.setFailed(`PR Description is missing the following sections: ${missingSections.join(", ")}`);
70
}
0 commit comments