GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DUT-Racing/gitbot-format: Automagically run clang-format on your PRs

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

185 Commits
185 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
__tests__
__tests__
 
 
src
src
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.nixpkgs-version.json
.nixpkgs-version.json
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
action.yml
action.yml
 
 
jest.config.js
jest.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
shell.nix
shell.nix
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

gitbot-format

A GitHub App using the Probot framework

Keeps your repos tidy by running clang-format on every PR.

Install to your repo!

Features

Respects repo stylefile

Just a regular .clang-format file in the root of the repo. Looks on the default branch first, PR branch second, and lastly defaults to -style=Google.

Zero setup

No setup neccessary, just install in GitHub and enjoy.

Fully stateless

On every restart it rechecks all open PRs in installed repos. Making it easy to restart/upgrade/migrate/manage the deployment.

FAQ

Why prefer stylefile from the default branch to feature branch stylefile.

Since the goal is to keep the format of the whole codebase consistent, prefering the default branch stylefile will enforce the same style on all feature branches and make changes to the stylefile propagate instantly (no need to rebase every feature branch)

Changelog

Version Changes
0.8.1 Bugfix: Get pull_number more reliably
0.8.0 Skip 'in_progress' status, Show bot version in checkrun
--- ---
0.7.1 Convert over to TypeScript, bug fixes, use alpine base image
0.7.0 Don't warn about skipped submodules dirs, remove faulty gifs
--- ---
0.6.3 Add gifs for failure + more success gifs
0.6.2 Add more success gifs
0.6.1 Fix annotations duplication bug
0.6.0 Use git for diff generation, Fix for many large files, Major stability improvements
--- ---
0.5.2 Fix non-final formatting, improve skipped files display in checks
0.5.1 Paginate app's installations, paginate repo's PRs
0.5.0 Stream process PR files to reduce memory usage
--- ---
0.4.0 Page over PR files, handle check reruns, handle getFile failure, sync calls to clang-format, expand logging
--- ---
0.3.2 Improve status check (line count, action required). Annotations limit quickfix.
0.3.1 Pass -assume-filename to clang-format
0.3.0 Format on action, lint by default
--- ---
0.2.3 Set queued status as soon as possible
0.2.2 Use .clang-format from default branch first
0.2.1 Fix .clang-format values passing to clang-format process
0.2.0 Respect repo .clang-format
--- ---
0.1.0 MVP

License

ISC © 2020 Martin Toman [email protected]

About

Automagically run clang-format on your PRs

Resources

Readme
ISC license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.