You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: We need to create a GitHub Actions workflow that automates the validation of pull requests (PRs). This workflow will ensure that all PRs meet the following criteria before being merged:
PR Description Check: Every PR must have a description. If the description is missing, the PR should fail the check.
Issue Reference Check: The PR description must include an issue reference in the format Fixes #. If the PR is not addressing an existing issue, it should mention Fixes #NEW as a placeholder.
Acceptance Criteria:
A GitHub Action workflow is triggered on PR events (opened, edited).
The workflow checks the PR body for:
A non-empty description.
The presence of Fixes # or Fixes #NEW.
If the criteria are not met:
The workflow should fail and return clear error messages.
If the checks pass:
A confirmation message is outputted.
Expected Output:
Error message if the PR description is missing.
Error message if the issue reference is missing or incorrectly formatted.
Success message when all checks are satisfied.
ASSIGN WITH LEVEL 3
The text was updated successfully, but these errors were encountered:
Hello @amiya-cyber! Your issue #2220 has been successfully closed. ✅ Thank you for your contribution and helping us improve the project! If you have any more ideas or run into other issues, feel free to open a new one. Happy coding! 🚀
Description: We need to create a GitHub Actions workflow that automates the validation of pull requests (PRs). This workflow will ensure that all PRs meet the following criteria before being merged:
PR Description Check: Every PR must have a description. If the description is missing, the PR should fail the check.
Issue Reference Check: The PR description must include an issue reference in the format Fixes #. If the PR is not addressing an existing issue, it should mention Fixes #NEW as a placeholder.
Acceptance Criteria:
A GitHub Action workflow is triggered on PR events (opened, edited).
The workflow checks the PR body for:
A non-empty description.
The presence of Fixes # or Fixes #NEW.
If the criteria are not met:
The workflow should fail and return clear error messages.
If the checks pass:
A confirmation message is outputted.
Expected Output:
ASSIGN WITH LEVEL 3
The text was updated successfully, but these errors were encountered: