hplush / slowreader

Web app to combine feeds from social networks and RSS and to help read more meaningful and deep content
https://dev.slowreader.app
GNU Affero General Public License v3.0
153 stars 37 forks source link

Automatically move issue to `In Progress` column on assigning #200

Open ai opened 4 months ago

ai commented 4 months ago

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.
andrIvash commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

Sorry, then i did not understand the topic properly.