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

Set an issue's project status when an issue's linked PR is merged #2

Closed
CdrMarks opened this issue Jan 26, 2024 · 9 comments · Fixed by #6
Closed

Set an issue's project status when an issue's linked PR is merged #2

CdrMarks opened this issue Jan 26, 2024 · 9 comments · Fixed by #6
Assignees

Comments

@CdrMarks
Copy link

User story:

  • As a project manager, I would like the issue status of an issue in a project to be set when a PR is merged so that the work can be tracked through future statuses until deployed to production.

Acceptance criteria:

  • The existing action is extended to set the status of an issue when a linked PR is merged.
  • Documentation exists in the repository's README.md to alert users that built-in workflows for your project may conflict with this action.

Image

Notes:

@dylanflint07 dylanflint07 self-assigned this Mar 8, 2024
@dylanflint07
Copy link
Contributor

@CdrMarks I'm having a difficult time querying the project information in order to update the issue's project items. I can't see the settings for the landing_pages repository. Can you see if the repository is linked to the engineering board project?

@CdrMarks
Copy link
Author

@dylanflint07 I'm not quite sure what to look for. Is it working differently for the-lab repository?

@dylanflint07
Copy link
Contributor

No the settings are hidden from me on both. I can set it on the issue bot repository, but not the others.

Screenshot 2024-03-12 at 9 51 35 AM

@CdrMarks
Copy link
Author

I've given you Admin access on the project. Let me know if you need anything else.

@dylanflint07
Copy link
Contributor

Do you see an option for projects on the lab / landing pages? It's still not showing up for me.

@CdrMarks
Copy link
Author

CdrMarks commented Mar 12, 2024

Closing the loop on your question from earlier:

Do you see an option for projects on the lab / landing pages?

We aren't using repository projects. We're using organization projects.

I did some searching and didn't really find much that was terribly useful. Hopefully you'll be inspired by one of these:

@CdrMarks
Copy link
Author

Rolled over into Sprint 14.

@dylanflint07
Copy link
Contributor

@CdrMarks It looks like we'll need to register the github app under TheRecruitLab, which it looks like you'll need to be an owner of the organization in order to do that.

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

@CdrMarks
Copy link
Author

Note: Dylan and I met this morning to create the app.

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

Successfully merging a pull request may close this issue.

2 participants