Created
August 13, 2020 20:27
-
-
Save dlangille/cfaf2ea250129e85f428b1e25d21aff7 to your computer and use it in GitHub Desktop.
Using the events API to detect commits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[dan@pro02:~] $ curl -H "Authorization: token MYTOKEN" https://api.github.com/repos/freebsd/freebsd/events | grep 0d19f9ca2fba9df8176b5439518a0a7d946b9abd | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 82145 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 "head": "0d19f9ca2fba9df8176b5439518a0a7d946b9abd", | |
"sha": "0d19f9ca2fba9df8176b5439518a0a7d946b9abd", | |
"url": "https://api.github.com/repos/freebsd/freebsd/commits/0d19f9ca2fba9df8176b5439518a0a7d946b9abd" | |
100 82145 100 82145 0 0 205k 0 --:--:-- --:--:-- --:--:-- 204k | |
[dan@pro02:~] $ | |
credit to cem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment