Files
scripts/.github/workflows/cleanup.yml
dependabot[bot] 1086af777a Bump igorjs/gh-actions-clean-workflow from 1 to 3 (#19)
Bumps [igorjs/gh-actions-clean-workflow](https://github.com/igorjs/gh-actions-clean-workflow) from 1 to 3.
- [Release notes](https://github.com/igorjs/gh-actions-clean-workflow/releases)
- [Commits](https://github.com/igorjs/gh-actions-clean-workflow/compare/v1...v3)

---
updated-dependencies:
- dependency-name: igorjs/gh-actions-clean-workflow
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 08:51:01 +02:00

22 lines
557 B
YAML

name: Clean Workflow Logs
on:
workflow_dispatch:
inputs:
days_old:
description: "The amount of days old to delete"
default: "7"
required: false
jobs:
clean-logs:
if: ${{ github.repository_owner == 'Armbian' }}
runs-on: ubuntu-latest
steps:
- uses: igorjs/gh-actions-clean-workflow@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
days_old: ${{ github.event.inputs.days_old }}