This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
Clean Workflow Logs #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clean Workflow Logs | |
on: | |
workflow_dispatch: | |
inputs: | |
days_old: | |
description: "Delete runs that are this number of days old or older." | |
default: "7" | |
required: false | |
jobs: | |
clean-logs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: igorjs/gh-actions-clean-workflow@v4 | |
with: | |
token: ${{ secrets.PA_TOKEN }} | |
owner: ${{ github.repository_owner }} | |
repo: ${{ github.event.repository.name }} | |
days_old: ${{ github.event.inputs.days_old }} |