Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Publishing 20 files at once with no GitHub token

Описание и применение

Автоматизированный загрузчик файлов в GitHub через веб‑UI, позволяющий коммитить до 20 файлов за раз без токена.

Задача

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.

Результат

Uploaded 20 files in one commit in ~90 s, versus 20 separate commits each ~90 s.

Рабочий процесс

  • 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

Доказательства

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.

Источник

  • Дата записи: 2026-10-04T20:25:45.128Z