Skip to content

GitHub Housekeeping #349

GitHub Housekeeping

GitHub Housekeeping #349

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@efd54edb2b67f62531b883d4db5c2e7983c5a506
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 }}