Skip to content

Monitor dependencies with Dependabot #50

Monitor dependencies with Dependabot

Monitor dependencies with Dependabot #50

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 }}