From fe0b7090cc8477677c1921ea415afafb015218de Mon Sep 17 00:00:00 2001 From: "Andrei.Ovcharenko" Date: Wed, 28 Oct 2026 16:44:00 +0300 Subject: [PATCH] ci: protect monthly Actions quota and shorten temporary retention --- .github/workflows/maven.yml | 4 ++-- .github/workflows/quality.yml | 6 +++--- .github/workflows/scorecard.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 6226097..49209e5 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -138,7 +138,7 @@ jobs: name: surefire-reports-${{ matrix.java }} path: target/surefire-reports - retention-days: 7 + retention-days: 1 - name: Upload JaCoCo report if: matrix.java == '21' uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 @@ -147,7 +147,7 @@ jobs: path: target/site/jacoco if-no-files-found: warn - retention-days: 7 + retention-days: 1 codecov: name: Upload coverage to Codecov if: github.event_name == 'push' diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 90d6847..2c79276 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -32,14 +32,14 @@ jobs: name: checkstyle-report path: target/checkstyle-result.xml if-no-files-found: ignore - retention-days: 7 + retention-days: 1 - name: Upload pmd report uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: pmd-report path: target/pmd.xml if-no-files-found: ignore - retention-days: 7 + retention-days: 1 - name: Upload spotbugs report uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: @@ -47,7 +47,7 @@ jobs: path: target/spotbugsXml.xml if-no-files-found: ignore - retention-days: 7 + retention-days: 1 sonarcloud: name: SonarCloud analysis if: github.event_name == 'push' && github.actor != 'dependabot[bot]' diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 91b20f9..9bdaad0 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -46,4 +46,4 @@ jobs: name: openssf-scorecard path: scorecard-results.sarif if-no-files-found: error - retention-days: 7 + retention-days: 1