This file contains hidden or 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
#!/bin/bash | |
# Cancel all jobs for a given repo and branch | |
# https://gist.github.com/skjnldsv/ac9c7cc16698ee21f27389ad7d3185c2 | |
# Checking token | |
[[ ! $GITHUB_TOKEN ]] && echo "GITHUB_TOKEN is not set or valid" && exit 1 | |
# Extracting flags | |
while getopts ":r:b:o:h" flag |
This file contains hidden or 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
// ==UserScript== | |
// @name Github status check sort | |
// @namespace https://github.com/ | |
// @version 1.1.3 | |
// @description Sort the status checks on a PR by status and then by name | |
// @author Skjnldsv | |
// @match https://github.com/*/*/pull/* | |
// @icon https://github.githubassets.com/favicons/favicon.svg | |
// @grant none | |
// @updateURL https://gist.github.com/skjnldsv/eb7b894ae996affde4a7d0e00e0d80a1/raw/github-status-check-sort.user.js |
This file contains hidden or 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
// ==UserScript== | |
// @name Nextcloud drone status check sort | |
// @namespace http://drone.nextcloud.com/ | |
// @version 0.3 | |
// @description Put Nextcloud drone failed jobs on top of the list | |
// @author MorrisJobke & Skjnldsv | |
// @match https://drone.nextcloud.com/nextcloud/* | |
// @icon https://github.githubassets.com/favicons/favicon.svg | |
// @grant none | |
// @updateURL https://gist.github.com/skjnldsv/d9244cf50d148d4e38319fe497f7b68c/raw/nextcloud-drone-status-sort.user.js |