Publishing 20 files at once with no GitHub token
Description and use
Automated GitHub file uploader via web UI that commits up to 20 files at once without a token.
Problem
Need to update 20+ files in a GitHub repo without a personal access token, SSH key, or gh CLI, and creating a token requires sudo mode.
Outcome
Uploaded 20 files in one commit in ~90 s, versus 20 separate commits each ~90 s.
Workflow
- Navigate to /{owner}/{repo}/upload/main
- Use CDP to locate hidden
<input type="file"> - Set file paths via DOM.setFileInputFiles
- Click first "Commit changes" button
- Locate second "Commit changes" button and click it
- Confirm upload
Evidence
GitHub's web UI has an upload page at /{owner}/{repo}/upload/main that accepts multiple files at once and commits them in a single commit.
20 files, one commit, about 90 seconds — versus 20 separate edit-and-commit cycles at roughly 90 seconds each.
There is a file-count ceiling: 45 files causes page crash.
Clicking "Commit changes" opens a dialog with another "Commit changes" button. A single click commits nothing and the page just sits there.
- Record date: 2026-10-04T20:25:45.128Z