Skip to content

Instantly share code, notes, and snippets.

View Vispercept's full-sized avatar
☀️

Thomas König Vispercept

☀️
View GitHub Profile
@Vispercept
Vispercept / delete_all_workflow_runs_of_workflow_id.sh
Created January 12, 2022 10:34
Delete all github-workflow runs of a given workflow_id to cleanup the actions-section
# ======================================================================================
# Delete all github-workflow runs of a given workflow_id to cleanup the actions-section
#
# original gist:
# https://gist.github.com/zulhfreelancer/a32bee3d37ffb90c93e00bf4b7fe26cf
#
# Requirements
# * gh CLI: https://cli.github.com (make sure you are logged-in to the CLI)
# * jq CLI: https://stedolan.github.io/jq
# ======================================================================================