github-project-automation-plus icon indicating copy to clipboard operation
github-project-automation-plus copied to clipboard

Move issues to In Review

Open frehburg opened this issue 1 year ago • 3 comments

Hey, i would like to move the issue card to my own column that I called 'In Review' when a pull request is opened. I am however not exactly sure how the github action should look like then. Can you help me out please?

frehburg avatar Aug 31 '23 14:08 frehburg

https://docs.github.com/en/actions/managing-issues-and-pull-requests/moving-assigned-issues-on-project-boards

frehburg avatar Aug 31 '23 14:08 frehburg

It does not seem to work like this:

name: Move opened pull requests into In Review

on:
  pull_request:
    types: [opened]

jobs:
  automate-project-columns:
    runs-on: ubuntu-latest
    steps:
      - uses: alex-page/[email protected]
        with:
          project: ERKER2Phenopackets kanban
          column: In Review
          repo-token: ${{ secrets.GITHUB_TOKEN }}

This is the result of the action run: https://github.com/BIH-CEI/ERKER2Phenopackets/actions/runs/6039022029/job/16386725239?pr=37

image

frehburg avatar Aug 31 '23 15:08 frehburg

That's a permissions error. Are you working in a private repository? This might help:

https://github.com/alex-page/github-project-automation-plus#troubleshooting

https://stackoverflow.com/questions/70435286/resource-not-accessible-by-integration-on-github-post-repos-owner-repo-ac

laurensnl avatar Oct 12 '23 09:10 laurensnl