From efc3637e077b71f28aeacdf74ff337a1c545b70c Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Thu, 30 Nov 2023 18:05:05 -0500 Subject: [PATCH] Migrate to Gradle-specific reusable workflow * Add `permissions` for `GH_TOKEN` in GH Actions --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24dd09d29c..f2c3c9b3d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,10 @@ run-name: Release current version for branch ${{ github.ref_name }} jobs: release: - uses: artembilan/spring-github-workflows/.github/workflows/spring-artifactory-release.yml@main + permissions: + actions: write + + uses: artembilan/spring-github-workflows/.github/workflows/spring-artifactory-gradle-release.yml@main secrets: GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}