Skip to content

Commit

Permalink
Setter opp dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
geiralund committed Sep 12, 2023
1 parent b408c58 commit 1812221
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
interval: "daily"
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "daily"
24 changes: 24 additions & 0 deletions .github/workflows/dependabot-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test Dependabot PRs

on:
push:
branches:
- 'dependabot/**'

jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17

- uses: gradle/[email protected]
env:
ORG_GRADLE_PROJECT_githubUser: x-access-token
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
with:
arguments: --configuration-cache test
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Build and deploy

on: [push]

on:
push:
branches-ignore:
- 'dependabot/**'
env:
IMAGE: ghcr.io/${{ github.repository }}/dp-mottak:${{ github.sha }}

Expand Down

0 comments on commit 1812221

Please sign in to comment.