Add to project
Based on add-to-github-projects GH action
All newly opened issues will be added to the project.
Possible to set label filters and do the same for opened PRs if we want later
Link issues to PR:
Based on add-an-issue-link GH action
Any PR opened for a branch prefixed with issue-<number> will automatically be linked to the corresponding issue.
Provided the issue exists in the project (eg was added by previous action), the link will appear in the project board.
Merging the PR will close the issue.
Note: linking the PR to the issue could actually be achieved manually like this too.
REQUIRED: define a GH action TOKEN secret with the following full permissions repo and project (see doc)
I added an organization TOKEN secret at org level.
Closes #13
Add 2 new GH actions:
Any PR opened for a branch prefixed with
issue-<number>
will automatically be linked to the corresponding issue.Provided the issue exists in the project (eg was added by previous action), the link will appear in the project board.
Merging the PR will close the issue.
Note: linking the PR to the issue could actually be achieved manually like this too.
REQUIRED: define a GH actionI added an organizationTOKEN
secret with the following full permissionsrepo
andproject
(see doc)TOKEN
secret at org level.Test plan
You can test/try it out in this repo