Monitor dependencies with Dependabot #34
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: | |
- teste-deps-workflow | |
paths: | |
- "**.gradle.kts" | |
- "gradle.properties" | |
workflow_dispatch: | |
jobs: | |
dependabot: | |
name: Monitor dependencies with Dependabot | |
runs-on: ubuntu-20.04 | |
permissions: # The Dependency Submission API requires write permission | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 # ratchet:actions/checkout@v4 | |
- name: Run snapshot action | |
uses: mikepenz/[email protected] | |
env: | |
ORG_GRADLE_PROJECT_githubUser: x-access-token | |
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
fail-on-error: true | |
gradle-dependency-path: "build.gradle.kts" |