Add GitHub Apps documentation and remove outdated header

- Add GitHub Apps authentication section with setup steps
  and CI/CD workflow example using actions/create-github-app-token
- Remove outdated machine-man-preview header (graduated 2020)

Closes #189
This commit is contained in:
Rodos
2025-12-12 10:25:49 +11:00
parent 3a513b6646
commit ef990483e2
2 changed files with 31 additions and 3 deletions

View File

@@ -796,9 +796,6 @@ def _construct_request(
else:
auth = auth.encode("ascii")
request.add_header("Authorization", "token ".encode("ascii") + auth)
request.add_header(
"Accept", "application/vnd.github.machine-man-preview+json"
)
log_url = template if "?" not in template else template.split("?")[0]
if querystring: