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 'column-{allow/deny}-list' optional inputs #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BobbyRBruce
Copy link

This adds the column-allow-list and column-deny-list optional
inputs. If neither is set the behavior of the action is identical to
before.

column-allow-list may be set to a string or list of strings
(separated by comma or newline character) which specifes columns that
the action may move cards from only. That is, if column-deny-list is
set to todo,wip then only cards in todo and wip can be moved by
the job. If unset all cards in all columns may be moved (assuming
column-deny-list is also unset).

column-deny-list may also be set to a string or list of strings
(again, separated by a comma or newline character) which specifies
columns that the action may never move cards. That is, if
column-deny-list is set to todo,wip then cards in todo and wip
will not be moved by the job. If unset all the cards in all the columns
may be moved (assuming column-allow-list is also unset).
from.

This addresses:
#41.

Tests have been added to verify previous behavior is preserved and
these new inputs function as intended.

This adds the `column-allow-list` and `column-deny-list` optional
inputs. If neither is set the behavior of the action is identical to
before.

`column-allow-list` may be set to a string or list of strings
(separated by comma or newline character) which specifes columns that
the action may move cards from only. That is, if `column-deny-list` is
set to `todo,wip` then only cards in `todo` and `wip` can be moved by
the job. If unset all cards in all columns may be moved (assuming
`column-deny-list` is also unset).

 `column-deny-list` may also be set to a string or list of strings
(again, separated by a comma or newline character) which specifies
columns that the action may never move cards. That is, if
`column-deny-list` is set to `todo,wip` then cards in `todo` and `wip`
will not be moved by the job. If unset all the cards in all the columns
may be moved (assuming `column-allow-list` is also unset).
from.

This addresses:
alex-page#41.

Tests have been added to verify previous behavior is preserved and
these new inputs function as intended.
@BobbyRBruce BobbyRBruce force-pushed the add-deny-allow-columns branch from 73eb198 to f1c2861 Compare August 23, 2023 05:40
Comment on lines +19 to +21
},
column: {
name: 'Hotbox'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could use some help here. I am unsure of this is correct. I've been running on the assumption the data is laid out like this. It shouldn't be too hard to change if it's different. Essentially I just need to be able to get the column the card is currently in.

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.

1 participant