Missing Timeline Items when using actions/github-script or octokit/graphql-action

I’m trying to get CrossReferencedEvents from Issues. If I use the the online GraphQL API Explorer (Explorer - GitHub Docs), I see the event. But if I use those 2 actions (actions/github-script and octokit/graphql-action) in a workflow, it’s like the event doesn’t exists.

For example, I’m running the query:

            query($nodeid:ID!) { 
              node(id: $nodeid) {
                ... on Issue {
                  id
                  number
                  labels(first: 100) {
                    nodes {
                      name
                    }
                  }
                  timelineItems(last: 100) {
                    nodes {
                      __typename
                      ... on CrossReferencedEvent {
                        createdAt
                        source {
                          ... on PullRequest {
                            id
                            state
                          }
                        }
                      }
                    }
                  }
                }
              }
            }

Using the online explorer, I see

        {
          "__typename": "LabeledEvent"
        },
        {
          "__typename": "AssignedEvent"
        },
        {
          "__typename": "AddedToProjectEvent"
        },
        {
          "__typename": "MilestonedEvent"
        },
        {
            "__typename": "CrossReferencedEvent",
            "createdAt": "...",
            "source": {
              "id": "...",
              "state": "MERGED"
            }

But if I use the 2 actions in a workflow, I only get

        {
          "__typename": "LabeledEvent"
        },
        {
          "__typename": "AssignedEvent"
        },
        {
          "__typename": "AddedToProjectEvent"
        },
        {
          "__typename": "MilestonedEvent"
        }

Am I missing a preview or something?

Figured it out. Needed to use a custom access token since the cross referenced pull request is in a different repo. Default github secret is only for current repo.