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

Add argument to control mr state for listing #3

Conversation

2-shell
Copy link

@2-shell 2-shell commented Aug 12, 2020

For our workflow we need to be able to work with merged MRs.

Therefore an optional argument is added to allow specifying the state when listing MRs

Note, that I currently need to base all branches from the currently unmerged branch of PR #2 to work with the project on my end.

Previously the `mr ls` action would only list opened MRs.
To give more flexibility, this commit adds an optional argument for
specifying the state that should be listed (including *any*).

Valid argument values are taken directly from Gitlab's API docs and are
thus directly passed.

The argument defaults to `opened`, so the default behavior remains
unchanged.
@Adriks976 Adriks976 merged commit f3faaef into Adriks976:master Aug 24, 2020
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