Skip to content

False error when PR is merged before action runs #13

@tranhl

Description

@tranhl

Error that occurs:

/home/runner/work/_actions/git-town/action/v1/dist/index.js:23416
          throw new NotFoundGraphError("Graph.".concat(method, ': could not find the "').concat(nodeOrEdge, '" node in the graph.'));
                ^

NotFoundGraphError2: Graph.setNodeAttribute: could not find the "<pr_head_ref>" node in the graph.

The simplest fix would be to check whether or not the current PR is merged before running the main action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions