Monitor dependencies with Dependabot #47
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: | |
schedule: | |
- cron: '25 8,13 * * 1,2,3,4,5' | |
- cron: '25 13 * * 0,6' | |
push: | |
branches: | |
- main | |
paths: | |
- "**.gradle.kts" | |
- "gradle.properties" | |
jobs: | |
dependabot: | |
name: Monitor dependencies with Dependabot | |
runs-on: ubuntu-latest | |
permissions: # The Dependency Submission API requires write permission | |
contents: write | |
steps: | |
# JAVA 17 | |
- name: 'Checkout' | |
uses: actions/checkout@v3 # ratchet:actions/checkout@v3 | |
- name: 'Java 17' | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
cache: 'gradle' | |
- name: Run snapshot action | |
uses: mikepenz/[email protected] | |
with: | |
fail-on-error: true | |
gradle-dependency-path: "build.gradle.kts" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |