Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Better workflow for prune.
James Cole94730e998bad
diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.ymlindex dfedc874b6..0be8f1c3fc 100644--- a/.github/workflows/cleanup.yml+++ b/.github/workflows/cleanup.yml@@ -2,6 +2,9 @@name: "Chore - Prune old builds"+permissions:+ actions: write+on:schedule:- cron: '0 0 * * *'@@ -14,7 +17,7 @@ jobs:- name: Prune cancelled/skipped runsuses: actions/github-script@v7with:- github-token: ${{ secrets.GH_ACTIONS_PERSONAL_ACCESS_TOKEN }}+ github-token: ${{ secrets.GITHUB_TOKEN }}script: |const cancelled = await github.rest.actions.listWorkflowRunsForRepo({owner: context.repo.owner,@@ -44,7 +47,7 @@ jobs:- name: Prune runs older than 3 daysuses: actions/github-script@v7with:- github-token: ${{ secrets.GH_ACTIONS_PERSONAL_ACCESS_TOKEN }}+ github-token: ${{ secrets.GITHUB_TOKEN }}script: |const days_to_expiration = 3;const ms_in_day = 86400000;