1

I am trying to automate my project boards. I would like an action to trigger when someone opens a Pull Request and links it to a issue on the board, then the issue would be moved to "In Review".

I imagine once I trigger by a pull_request, this information would be seen on the given environment variables. But I dumped all of them and I could not find any reference to the issue I am linking and would like to move on the project board.

Can someone give me some light on what I could do to achieve this result?

Lavínia Beghini
  • 165
  • 1
  • 11

1 Answers1

0

First you can reference an issue in your commit message described in the documentation. Then you can set up built-in automations for the project board. If you then push something to your repository and create a merge request, the issue should be automatically linked and moved to the column "In Review".

Sascha
  • 302
  • 1
  • 7
  • But I do not want it to work when I merge the Pull Request, I already have an action for that. When merged, the issue moves to "Done". What I want is that when i reference the issue on the description of the Pull Request, it moves it to "In Review". – Lavínia Beghini Feb 18 '23 at 12:23