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 Action to add issue or PR to project #4071

Closed
wants to merge 2 commits into from

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Sep 18, 2019

For #3844.

Changes proposed in this pull request:

  • When a PR or issue is opened, automatically add it to the "New Issues" column of the Pillow board

@hugovk
Copy link
Member Author

hugovk commented Sep 18, 2019

https://github.com/python-pillow/Pillow/pull/4071/checks?check_run_id=226971660 shows:

Run alex-page/github-project-automation-plus@v0.0.3
#[error]GraphqlError: Resource not accessible by integration
##[error]Resource not accessible by integration
##[error]Node run failed with exit code 1

@aclark4life Please could you do steps 1 and 2 of https://github.com/alex-page/github-project-automation-plus#private-repositories?

Private repositories

In some cases you may want to do add this functionality for a private repository or one you do not have admin rights to. You may get an error like:

GraphqlError: Resource not accessible by integration

When this happens you will need to:

  1. Create a personal access token
  2. Create a secret containing the personal access token, call it GH_PAT
  3. Change the repo-token in the backlog-automation.yml to reference your new token name:
repo-token: ${{ secrets.GH_PAT }}

@aclark4life
Copy link
Member

@hugovk Will do

@aclark4life
Copy link
Member

@hugovk Hmmm, which perms do I need here?

Screen Shot 2019-09-20 at 9 08 56 AM

@hugovk
Copy link
Member Author

hugovk commented Sep 20, 2019

I asked at alex-page/github-project-automation-plus#10, let's try with admin:org.

@aclark4life
Copy link
Member

@hugovk Steps 1 and 2 done!

Screen Shot 2019-09-21 at 4 55 54 PM

Screen Shot 2019-09-21 at 4 55 47 PM

@hugovk
Copy link
Member Author

hugovk commented Sep 21, 2019

And step 3 done!

The action was skipped, I think it'll only trigger when a PR is opened, not updated (makes sense).

https://github.com/python-pillow/Pillow/pull/4071/checks?check_run_id=231170480

Will close and reopen!

@hugovk hugovk closed this Sep 21, 2019
@hugovk hugovk reopened this Sep 21, 2019
@hugovk
Copy link
Member Author

hugovk commented Sep 21, 2019

Still skipped. Will close and create a fresh PR.

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

Successfully merging this pull request may close these issues.

2 participants