Add a pull request state to the github pull request generator to add the ability to generate applications for all github PR statuses - all, opened or closed. To preserve backwards compatibility, applications should be generated only for opened pull requests.
Motivation
To be able to generate applications using argoCD for both opened and closed pull requests, the same functionality is already present for Gitlab pull request generator.
Proposal
Exactly the same way as for Gitlab pull request generator - by default create applications only for opened PRs on github but allow to filter the PRs by the state attribute to all, opened or closed.
Summary
Add a pull request state to the github pull request generator to add the ability to generate applications for all github PR statuses - all, opened or closed. To preserve backwards compatibility, applications should be generated only for opened pull requests.
Motivation
To be able to generate applications using argoCD for both opened and closed pull requests, the same functionality is already present for Gitlab pull request generator.
Proposal
Exactly the same way as for Gitlab pull request generator - by default create applications only for opened PRs on github but allow to filter the PRs by the
state
attribute to all, opened or closed.