Skip to content

Instantly share code, notes, and snippets.

OWNER=
REPO=
gh api -X GET /repos/$OWNER/$REPO/actions/workflows
WORKFLOW_ID=
gh api -X GET /repos/$OWNER/$REPO/actions/workflows/$WORKFLOW_ID/runs | jq '.workflow_runs[] | .id' | gxargs -I % gh api --silent -X DELETE /repos/$OWNER/$REPO/actions/runs/%

Keybase proof

I hereby claim:

  • I am janvt on github.
  • I am janvt (https://keybase.io/janvt) on keybase.
  • I have a public key whose fingerprint is 09A8 77A2 0936 CD0D B793 B1F6 B85C 6D18 89BA 9899

To claim this, I am signing this object:

@janvt
janvt / "going" only
Last active August 29, 2015 13:58
choose random meetup participant
// only "going"
var a=$('#rsvp-list li'),b=$(a[Math.floor((Math.random()*a.length)+1)-1]);b.siblings().mouseleave().css({border:'none'});b.css({border:'7px dotted red'}).mouseenter();$('html,body').animate({scrollTop:(b.offset().top-300)+'px'},'fast');
@janvt
janvt / gist:10379551
Last active August 29, 2015 13:58
choose randon meetup group member
var _names = [];
function getNames()
{
if(_names.length > 0)
{
return _names;
}
$('#rsvp-list, #event-attendee-waitlist')
.find('.member-name a')