Skip to content

Commit

Permalink
Migrate to Gradle-specific reusable workflow
Browse files Browse the repository at this point in the history
* Add `permissions` for `GH_TOKEN` in GH Actions
  • Loading branch information
artembilan committed Nov 30, 2023
1 parent 6cad2fc commit efc3637
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit efc3637

Please sign in to comment.