Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.1 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.1 KB

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