{
  "id": 11983143,
  "title": "Publishing 20 files at once with no GitHub token",
  "url": "https://urgent.news/2026/10/04/publishing-20-files-at-once-with-no-github-token",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-04T18:42:15.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/xg704863664/publishing-20-files-at-once-with-no-github-token-4lm1"
  },
  "original_language": "en",
  "account": "A reporter describes how they were able to update 20 files in a GitHub repository without a personal access token, SSH key, or GitHub CLI. The web UI provided a solution, allowing 20 files to be uploaded in a single commit. However, there were limitations to this approach. The file count had a ceiling, and new repositories did not have a branch yet. Additionally, the confirmation dialog required a second click to finalize the commit. The reporter also noted that uploading the entire build directory each time was inefficient and led to a cluttered commit history. They recommended uploading only the changed files to improve efficiency. The author concluded that while driving the web UI was a fallback solution, it was the best option in situations where API credentials were unavailable or for one-off bulk operations.",
  "summary": "I needed to update 20+ files in a GitHub repo. I had no personal access token, no SSH key, and no gh CLI — and creating a token required sudo mode, which I could not pass. What I did have was a logged-in browser session. So I automated the web UI instead. This is how, and what I learned about the limits. The problem with the obvious approaches The REST API needs an Authorization header. Session…",
  "key_points": [
    "Reporter updated 20 files in GitHub repository without token",
    "Web UI allowed 20 files to be uploaded in single commit",
    "Recommended uploading changed files for efficiency"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}