Only allow Gradle AddDependency
to add dependencies to the top-level dependencies
block
#10012
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: ci | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- "*" | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: {} | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
uses: openrewrite/gh-automation/.github/workflows/ci-gradle.yml@main | |
secrets: | |
gradle_enterprise_access_key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | |
ossrh_username: ${{ secrets.OSSRH_USERNAME }} | |
ossrh_token: ${{ secrets.OSSRH_TOKEN }} | |
ossrh_signing_key: ${{ secrets.OSSRH_SIGNING_KEY }} | |
ossrh_signing_password: ${{ secrets.OSSRH_SIGNING_PASSWORD }} |