[GitHub Action][] to to remove GitHub Action workflow runs of deleted branches
You can now consume the action by referencing the v1 branch
steps:
- uses: kula-app/remove-stale-workflow-runs@v1
-
repository: ${{ github.repository}}
Required. Name of a repository on GitHub, with owner, e.g.
username/reponame
; this refers to https://github.com/username/reponame.git. -
token: ${{ github.token }}
Required. Name of a repository on GitHub, with owner; this refers to https://github.com/username/reponame.git. Defaults to the repository name where the GitHub action is run.
-
dry_run: false
Only find stale workflow runs but do not delete anything
-
max_runs_limit: 0
Limits the number of fetched workflow runs, e.g.
500
. Setting the limit to0
means no limit