Merge common gating parts into composite action#15197
Conversation
Review Summary by QodoExtract PR gating logic into reusable composite action
WalkthroughsDescription• Create reusable composite action for PR gating logic • Consolidate duplicate code from two rejection workflows • Check maintainer permissions, CI status, and change labels • Reduce workflow complexity and improve maintainability Diagramflowchart LR
A["Duplicate gating logic<br/>in two workflows"] -->|"Extract common parts"| B["pr-gate<br/>composite action"]
B -->|"Used by"| C["remove-ready-for-review.yml"]
B -->|"Used by"| D["remove-reviewers.yml"]
C -->|"Simplified"| E["Reduced code duplication"]
D -->|"Simplified"| E
File Changes1. .github/actions/pr-gate/action.yml
|
Code Review by Qodo
1. gh api errors unhandled
|
…les-wizard-12709 * upstream/main: (106 commits) Merge common gating parts into composite action (JabRef#15197) Support protected institutional authors in PersonNamesChecker (JabRef#15175) adapt wix (JabRef#14969) Improve CI (JabRef#15189) Revert "Reduce complexity in dependencies setup (JabRef#15169)" (JabRef#15191) Fix compilation Fix heylogs test Fix icon on Linux (JabRef#15188) chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.5 (JabRef#15178) New Crowdin updates (JabRef#15173) Reduce complexity in dependencies setup (JabRef#15169) Start new development cycle snapcraft snapcraft use snapctl update metadata fiels try with mesa candidate fix snapcraft and skmanrc to use correct version Release v6.0-alpha.5 chore(sbom): update CycloneDX SBOM files (JabRef#15172) ...
Refactoring if the rejection workflows - to avoid code duplication
Steps to test
See workflows working :)
Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)