Skip to content

Conversation

@ammodev
Copy link
Contributor

@ammodev ammodev commented Mar 15, 2025

This pull request introduces a new GitHub Actions workflow to automatically close invalid pull requests. The workflow is designed to identify and close pull requests that are created from the default branch, ensuring that contributors use feature branches for their work.

Key changes:

  • .github/workflows/close_invalid_prs.yml: Added a new workflow named "Close Invalid Pull Requests" that triggers on pull request events (opened, reopened, synchronize) and manual dispatch. The workflow includes steps to check out the repository, determine the default branch, and close any open pull requests originating from the default branch with a comment explaining the reason.

@ammodev ammodev merged commit 95e3a36 into version/1.21 Mar 15, 2025
1 check passed
@ammodev ammodev deleted the master branch March 15, 2025 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants