Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement GitHub PR Issue Checker Workflow #150

Closed
wants to merge 2 commits into from

Conversation

smog-root
Copy link

FIX #149

Usage:

  1. When a pull request is created or edited, the workflow automatically triggers.

  2. The workflow checks for:

  • A non-empty PR description.
  • A valid issue reference format (FIX #<issue-number> or FEAT, or DOC #NEW).
  1. If either check fails, the PR will be marked as failing, and the author will receive clear error messages in the PR comments.
  2. If all checks pass, a confirmation message will indicate that the PR is valid.

Note: Kindly add all the labels added to the issue, to this PR!

@vansh-codes

Copy link

vercel bot commented Oct 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chaos-web ❌ Failed (Inspect) Oct 20, 2024 1:31pm

Copy link
Contributor

Thank you for submitting your chaotic pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our chaotic CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@vansh-codes
Copy link
Owner

You wrote FIX but it should be Closes or Fixes
Please update it in your PR description

@vansh-codes
Copy link
Owner

GITHUB_EVENT_PULL_REQUEST_BODY
GITHUB_EVENT_PULL_REQUEST_TITLE

What are these 2 env?
Do I have to store them or its already provided by GitHub ?

@smog-root
Copy link
Author

smog-root commented Oct 20, 2024

GITHUB_EVENT_PULL_REQUEST_BODY GITHUB_EVENT_PULL_REQUEST_TITLE

What are these 2 env? Do I have to store them or its already provided by GitHub ?

No. you don't store it!!

it is used to check the description of the PR!

@smog-root
Copy link
Author

can you make it level2 please??!!

@smog-root
Copy link
Author

You wrote FIX but it should be Closes or Fixes Please update it in your PR description

changes done! @vansh-codes

@vansh-codes
Copy link
Owner

DUPLICATE from #145

@vansh-codes vansh-codes added the duplicate This issue or pull request already exists label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants