Skip to content

Conversation

@aschwartz1
Copy link
Owner

@aschwartz1 aschwartz1 commented Oct 15, 2024

This took a bit of back-and-forth, since most people seem to use
templates or scripts for this.

Fortunately, though I learned a bit...

  • About the github CLI
  • About permissions for actions
  • About errors actions can throw

I think I should be able to add a ready_for_review job to this same
action to remove the "WIP" and put on "Ready for Review".

Then, I wonder if I should look into scripts w/ TS for adding/removing
labels?

@aschwartz1 aschwartz1 force-pushed the pull-request-label-workflows branch 3 times, most recently from 4b7ad09 to 31f4ed2 Compare October 15, 2024 14:16
@github-actions github-actions bot added the WIP This PR is still a work in progress label Oct 15, 2024
This took a bit of back-and-forth, since most people seem to use
templates or scripts for this.

Fortunately, though I learned a bit...
- About the github CLI
- About permissions for actions
- About errors actions can throw

I think I should be able to add a ready_for_review job to this same
action to remove the "WIP" and put on "Ready for Review".

Then, I wonder if I should look into scripts w/ TS for adding/removing
labels?
@aschwartz1 aschwartz1 force-pushed the pull-request-label-workflows branch from 31f4ed2 to e5028a5 Compare October 15, 2024 14:18
@aschwartz1 aschwartz1 changed the title Add attempt at an action to label draft PRs Add WIP/Ready-for-Review Labeling to PRs with an Action Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WIP This PR is still a work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants