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

Automatically move issue to In Progress column on assigning #200

Open
ai opened this issue May 13, 2024 · 3 comments
Open

Automatically move issue to In Progress column on assigning #200

ai opened this issue May 13, 2024 · 3 comments

Comments

@ai
Copy link
Contributor

ai commented May 13, 2024

We need a little automation to GitHub Projects.

When I assign somebody to issue in Onboarding/Ready to take, the issue should move to In Progress column.

The workflow should look like:

name: Move Assigned Issue to In Progress

on:
  issues:
    types: [assigned]

jobs:
  move:
    name: Move
    runs-on: ubuntu-latest
    steps:
      - name: Move issue to In Progress
      # Some way to move issue

Note, that we are using Project (beta) (also Project V2), and not old classic projects. So many solutions from Google/ChatGPT will not work.

  1. Create a new your own repo.
  2. Create a project V2 there with New and In Progress columns.
  3. Add workflow.
  4. Create some task and put it to New.
  5. Assign yourself to In Progress
  6. Check that everything works in GitHub Actions and project view.
  7. Create PR to Slow Reader.
  8. Use secrets.PROJECTS_MOVE with token, but explain in PR what permissions this token need. We are using new fine-tuning tokens, not classic.
@github-project-automation github-project-automation bot moved this to Ready to Take in Slow Reader Tasks May 13, 2024
@ai ai moved this from Ready to Take to Onboarding in Slow Reader Tasks May 13, 2024
@andrIvash
Copy link

I've found some info, maybe it helps:
It looks like the fine-tuning tokens do not have access to the Project.

Image

https://docs.github.com/en/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions

@ai
Copy link
Contributor Author

ai commented Jun 5, 2024

GUTHUB_TOKEN is not a personal token (it is default token available in all workflows).

So I don't see how this quote is related.

@andrIvash
Copy link

Sorry, then i did not understand the topic properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Onboarding
Development

No branches or pull requests

2 participants