jira-description-action icon indicating copy to clipboard operation
jira-description-action copied to clipboard

GHA running in a loop when authorizing the jira-token

Open ashwiniyerabati9 opened this issue 1 year ago • 5 comments

Getting this error when i deauthorize the Jira token which is expected but when i authorize the jira-token, the github action works but runs in a loop. Not just this action all actions start to run in a loop.

Deauthorized Screenshot 2023-08-01 at 12 49 56 PM

Authorized: GHA running in a loop

https://github.com/cakeinpanic/jira-description-action/assets/80057657/4bba54a7-71e9-4110-b5a7-b0f4f9ab6abc

ashwiniyerabati9 avatar Aug 01 '23 17:08 ashwiniyerabati9

@cakeinpanic - Looks like the pull_request type having edited and the description being updated are making the actions run in a loop.

ashwiniyerabati9 avatar Aug 02 '23 16:08 ashwiniyerabati9

@ashwiniyerabati9 loop is not related to the action itself – please edit your workflow triggers, here is an example https://github.com/cakeinpanic/jira-description-action#installation ,

cakeinpanic avatar Aug 02 '23 16:08 cakeinpanic

@cakeinpanic - There are no other actions which are chained on the PR description.

ashwiniyerabati9 avatar Aug 02 '23 19:08 ashwiniyerabati9

@cakeinpanic - Extract the ticket from the title and add to the description Once the description is updated, GHA is still being executed in a loop and not breaking out of the action.

Is the looping action because of the action editing the PR? Can we get a confirmation on where the loop will break out in an expected flow.

ashwiniyerabati9 avatar Aug 10 '23 20:08 ashwiniyerabati9

@ashwiniyerabati9 loop happens because you have a trigger which is related to editing PR title. Please provide your workflow file so I can say for sure

cakeinpanic avatar Aug 31 '23 11:08 cakeinpanic