From 64d7a31a6bc217c928665117f7e7642aa28d58a2 Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Thu, 1 Feb 2024 08:07:41 +0000 Subject: [PATCH 1/2] Migrate to `gradle/actions/setup-gradle` --- .github/actions/setup-gradle/action.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-gradle/action.yaml b/.github/actions/setup-gradle/action.yaml index 5cff277..09c35f7 100644 --- a/.github/actions/setup-gradle/action.yaml +++ b/.github/actions/setup-gradle/action.yaml @@ -3,5 +3,8 @@ description: 'Gradle setup and wrapper validation' runs: using: composite steps: - - uses: gradle/gradle-build-action@3b1b3b9a2104c2b47fbae53f3938079c00c9bb87 # v3.0.0 + - uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3.0.0 + with: + gradle-home-cache-cleanup: true + add-job-summary-as-pr-comment: on-failure - uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1.1.0 From 4834974a22c4ffc400b7495c02d55ce3f18d393d Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Thu, 1 Feb 2024 08:10:20 +0000 Subject: [PATCH 2/2] Update build.yml --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6141908..88c7e1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,9 @@ on: push: workflow_dispatch: +permissions: + pull-requests: write + jobs: build_test_report: name: Build → Test → Report