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: Monitor dependencies with Dependabot | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "**.gradle.kts" | |
- "gradle.properties" | |
workflow_dispatch: | |
jobs: | |
dependabot: | |
name: Monitor dependencies with Dependabot | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- name: Set up gradle with generate and submit | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
dependency-graph: generate-and-submit | |
- name: Build gradle (dependency-graph will be generated and submitted post-job) | |
run: ./gradlew build | |
env: | |
ORG_GRADLE_PROJECT_githubUser: x-access-token | |
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }} |