Action+GraphQL Permissions error

(Context: I’m running this action using this test repo on the “issues” event.)

I’m running the query:

query get_label($repo: ID!, $name: String!) {
  node(id: $repo) {
    ... on Repository {
      label(name: $name) {
        id
      }
    }
  }
}

called as:

get_label(repo=$GITHUB_EVENT['repository']['node_id'], name='Hacktoberfest')

However, I’m getting a 401 Unauthorized when I try to execute the query (example).

Can anyone shed some light on why this would be? It seems like I should be accessing public information, and I should have access if this was a private repo.

(Remind: GitHub Action permissions.)

Nevermind. All the platformy stuff I wrote that I was expecting to set up authentication for me didn’t work.