You need to remove token and owner variables from the provider "github" {} bloc and instead, export GITHUB_TOKEN and GITHUB_OWNER environment variables.
token
owner
provider "github" {}
GITHUB_TOKEN
GITHUB_OWNER