Skip to content

🧑‍💻 Skriv ut en advarsel hvis utvikler mangler pre-commit-hook #117

🧑‍💻 Skriv ut en advarsel hvis utvikler mangler pre-commit-hook

🧑‍💻 Skriv ut en advarsel hvis utvikler mangler pre-commit-hook #117

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