name: "Housekeeping" on: workflow_dispatch: push: branches: - main paths: - ".github/workflows/housekeeping.yaml" schedule: - cron: "0 1 * * *" jobs: housekeeping: runs-on: ubuntu-latest name: "Housekeeping" steps: - name: Checkout branch uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: fetch-depth: 0 token: ${{ secrets.BOT_TOKEN }} - name: Containers - Fetch new application versions run: | find ./apps -maxdepth 1 -mindepth 1 -type d -exec basename {} \; | while read app; do bash ./.github/scripts/update-version-file.sh "${app}" done - name: Commit and Push Housekeeping run: | git config user.name "TrueCharts-Bot" git config user.email "bot@truecharts.org" git add --all git commit -sm "Daily Housekeeping" || exit 0 git push