Looks like the gh CLI token doesn't have permission to merge PRs. You'll need to merge it through the GitHub web UI or update the token permissions. Once you've merged it, I can try closing the issue, or you can do both from the UI — since the PR body has Fixes #1, GitHub will automatically close the issue when the PR is merged.