https://github.com/bensallen/everycommit
A helper application to iterate through every commit of a Github PR, running a given command.
https://github.com/bensallen/everycommit
ci git github github-pr
Last synced: 9 months ago
JSON representation
A helper application to iterate through every commit of a Github PR, running a given command.
- Host: GitHub
- URL: https://github.com/bensallen/everycommit
- Owner: bensallen
- License: mit
- Created: 2017-12-18T02:59:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-18T03:57:37.000Z (about 8 years ago)
- Last Synced: 2025-01-24T10:23:44.160Z (11 months ago)
- Topics: ci, git, github, github-pr
- Language: Go
- Homepage:
- Size: 1.14 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# everycommit
[](https://circleci.com/gh/bensallen/everycommit)
A helper application to iterate through every commit of a Github PR, running a given command. Queries the GitHub API to find commits in a PR. Useful for ensuring every commit in a PR compiles and successfully can run tests.
Example:
```
$ everycommit -r /path/to/repo_checkout -u https://github.com/owner/project/pull/1 -- git show-ref --head ^HEAD
Checking out commit: 6c5e7c97b4eead4fabaea34b2e7e37d6d966369a
Running: /usr/local/bin/git show-ref --head ^HEAD
6c5e7c97b4eead4fabaea34b2e7e37d6d966369a HEAD
Checking out commit: 5c6bef13efa6367630e50bcc225fafc7560d0e85
Running: /usr/local/bin/git show-ref --head ^HEAD
5c6bef13efa6367630e50bcc225fafc7560d0e85 HEAD
Checking out commit: f5024614a16db5959f0cea6c63880e5d5d1b4f22
Running: /usr/local/bin/git show-ref --head ^HEAD
f5024614a16db5959f0cea6c63880e5d5d1b4f22 HEAD
Checking out commit: bc87d4e8df79e0475204325258cffc6f11e4f71e
Running: /usr/local/bin/git show-ref --head ^HEAD
bc87d4e8df79e0475204325258cffc6f11e4f71e HEAD
```