Skip to content

Commit e2cfd90

Browse files
renovate[bot]zglicz
andcommitted
Update dependency ch.qos.logback:logback-classic to v1.5.23 (#6108)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michal Zgliczynski <mzglicz@gmail.com>
1 parent fda4305 commit e2cfd90

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

.github/actions/orchestrator-cache/action.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ inputs:
66
description: 'Prefix for the cache key (default: orchestrator)'
77
required: false
88
default: 'orchestrator'
9+
save:
10+
description: 'Whether to save the cache on the default branch (default: true)'
11+
required: false
12+
default: 'true'
913

1014
runs:
1115
using: composite
@@ -18,8 +22,9 @@ runs:
1822
echo "ORCHESTRATOR_HOME=${{ github.workspace }}/orchestrator" >> $GITHUB_ENV
1923
2024
# Restore only on branches (no save) - allows branches to read from default branch's cache
21-
- name: Restore Orchestrator cache (branches)
22-
if: github.ref_name != github.event.repository.default_branch
25+
# Also used when save is disabled
26+
- name: Restore Orchestrator cache (restore only)
27+
if: github.ref_name != github.event.repository.default_branch || inputs.save != 'true'
2328
uses: actions/cache/restore@v5
2429
with:
2530
path: ${{ env.ORCHESTRATOR_HOME }}
@@ -28,7 +33,7 @@ runs:
2833

2934
# Full cache on default branch (save enabled) - uses run_id for rolling cache
3035
- name: Cache Orchestrator (default branch)
31-
if: github.ref_name == github.event.repository.default_branch
36+
if: github.ref_name == github.event.repository.default_branch && inputs.save == 'true'
3237
uses: SonarSource/gh-action_cache@v1
3338
with:
3439
path: ${{ env.ORCHESTRATOR_HOME }}

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,9 @@ jobs:
829829
- *download_sonarjs_m2
830830
- *config_maven
831831
- *get_licenses_token
832-
- *orchestrator_cache
832+
- uses: ./.github/actions/orchestrator-cache
833+
with:
834+
save: 'false'
833835
- name: Run Ruling Tests
834836
run: |
835837
cd its/ruling
@@ -857,7 +859,9 @@ jobs:
857859
- *download_sonarjs_m2
858860
- *config_maven
859861
- *get_licenses_token
860-
- *orchestrator_cache
862+
- uses: ./.github/actions/orchestrator-cache
863+
with:
864+
save: 'false'
861865
- name: Run CSS Ruling
862866
run: |
863867
cd its/ruling

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
<dependency>
270270
<groupId>ch.qos.logback</groupId>
271271
<artifactId>logback-classic</artifactId>
272-
<version>1.5.22</version>
272+
<version>1.5.23</version>
273273
<scope>test</scope>
274274
</dependency>
275275
<dependency>

0 commit comments

Comments
 (0)