diff --git a/.github/workflows/dev-version.yml b/.github/workflows/dev-version.yml index 5fad41c..851ed79 100644 --- a/.github/workflows/dev-version.yml +++ b/.github/workflows/dev-version.yml @@ -1,12 +1,9 @@ -name: Dev version +name: Dev Version on: push: branches-ignore: [main, master] -permissions: - contents: write - jobs: dev-version: uses: Ai-road-4-You/enterprise-ci-cd/.github/workflows/dev-version.yml@v1 diff --git a/.github/workflows/ghcr-cleanup.yml b/.github/workflows/ghcr-cleanup.yml index 4e54c60..eb45c7f 100644 --- a/.github/workflows/ghcr-cleanup.yml +++ b/.github/workflows/ghcr-cleanup.yml @@ -1,8 +1,8 @@ -name: GHCR cleanup +name: GHCR Cleanup on: schedule: - - cron: "0 3 * * 0" # Sunday 03:00 UTC + - cron: "0 3 * * 0" # Weekly Sunday 03:00 UTC workflow_dispatch: permissions: @@ -13,4 +13,7 @@ jobs: uses: Ai-road-4-You/enterprise-ci-cd/.github/workflows/ghcr-cleanup.yml@v1 with: keep-latest-tagged: 2 + retention-days: 30 keep-latest: 10 + delete-old-tagged: true + secrets: inherit