Skip to content

Commit 9bd0825

Browse files
committed
Remove PR description validation step from GitHub Actions workflow
1 parent 85022ee commit 9bd0825

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/github-actions-ansible-lint.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,3 @@ jobs:
4747
- name: Check code formatting with black
4848
run: |
4949
black --check src/ --config pyproject.toml
50-
51-
- name: Validate PR Description
52-
uses: actions/github-script@v6
53-
with:
54-
script: |
55-
const pr = await github.rest.pulls.get({
56-
owner: context.repo.owner,
57-
repo: context.repo.repo,
58-
pull_number: context.payload.pull_request.number,
59-
});
60-
const body = pr.data.body || "";
61-
const requiredSections = [
62-
"Description",
63-
"Test Cases",
64-
"Checklist",
65-
];
66-
const missingSections = requiredSections.filter(section => !body.includes(section));
67-
if (missingSections.length > 0) {
68-
coreLib.setFailed(`PR Description is missing the following sections: ${missingSections.join(", ")}`);
69-
}

0 commit comments

Comments
 (0)