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

GitHub Actions: Can PR authors be given the ability to move cards between Project columns? #960

Closed
StephanTLavavej opened this issue Jul 1, 2020 · 0 comments · Fixed by #2584
Labels
fixed Something works now, yay! infrastructure Related to repository automation

Comments

@StephanTLavavej
Copy link
Member

We use a GitHub Project named Code Reviews to organize our work. It has several columns, including Work In Progress and Ready For Initial Review. We've enabled automation to make life easier (e.g. requesting changes will automatically move a PR to the Work In Progress column, which is amazing).

We want to give PR authors some control over the placement of their PRs in this Project. Specifically, it would be great if a PR author could move their own PR to either the Work In Progress or Ready For Initial Review column, regardless of its current location. (Because PR authors can push changes to their own branches, this indicates whether they're actively working on a PR, or whether they're waiting for maintainer review.)

GitHub Actions/Workflows may be capable of this. #829 (reverted by #847) was doomed because PRs from forks (i.e. all of our PRs) don't have access to secrets in the base repo. However, perhaps there could be a workaround, like a PR author could comment in an issue "/wip GH-nnn" or "/review GH-nnn" and a workflow would compare the commenter and the PR's submitter, and move the card if they match. I don't know if that would be doomed too, but presumably there would be no security concerns for a workflow running on issue comments (since only the base repo is involved there).

Suggested by @miscco in #921 (comment).

@StephanTLavavej StephanTLavavej added help wanted Extra attention is needed infrastructure Related to repository automation labels Jul 1, 2020
@StephanTLavavej StephanTLavavej added fixed Something works now, yay! and removed help wanted Extra attention is needed labels Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed Something works now, yay! infrastructure Related to repository automation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant