Skip to content

Monitor dependencies with Dependabot #365

Monitor dependencies with Dependabot

Monitor dependencies with Dependabot #365

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 21
- name: 'Checkout'
uses: actions/[email protected] # ratchet:actions/checkout@v3
- name: 'Java 21'
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: 21
cache: 'gradle'
- name: Run snapshot action
uses: mikepenz/gradle-dependency-submission@v1
with:
fail-on-error: true
gradle-dependency-path: "build.gradle.kts"
gradle-build-configuration: "compileClasspath"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}