Skip to content

kula-app/remove-stale-workflow-runs

Repository files navigation

Action: remove-stale-workflow-runs

javscript-action status

[GitHub Action][] to to remove GitHub Action workflow runs of deleted branches

Usage

You can now consume the action by referencing the v1 branch

steps:
  - uses: kula-app/remove-stale-workflow-runs@v1

Inputs

  • 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 to 0 means no limit