Skip to content

GitHub Housekeeping #336

GitHub Housekeeping

GitHub Housekeeping #336

name: GitHub Housekeeping
on:
schedule:
- cron: "17 */6 * * *"
workflow_dispatch:
inputs:
apply:
description: "Apply deletions (true/false)"
required: false
default: "false"
permissions:
actions: write
contents: read
concurrency:
group: github-housekeeping-${{ github.repository }}
cancel-in-progress: false
jobs:
housekeeping:
uses: EvotecIT/PSPublishModule/.github/workflows/powerforge-github-housekeeping.yml@23bb7cb83ca9fda14c5972f58ec1667fa87511cc
with:
config_path: ./.powerforge/github-housekeeping.json
apply: ${{ (github.event_name == 'workflow_dispatch' && inputs.apply == 'true') || (github.event_name != 'workflow_dispatch' && vars.POWERFORGE_GITHUB_HOUSEKEEPING_APPLY == 'true') }}
powerforge_ref: 23bb7cb83ca9fda14c5972f58ec1667fa87511cc
report_artifact_name: github-housekeeping-reports
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}