mirror of
https://github.com/armbian/scripts.git
synced 2026-01-06 10:32:48 -08:00
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>
22 lines
557 B
YAML
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 }}
|