Skip to content

Commit

Permalink
Add separate workflow for dependency-submission
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kutz committed Apr 12, 2024
1 parent 5e835bc commit fa1e459
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- uses: gradle/actions/dependency-submission@v3
2 changes: 0 additions & 2 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,3 @@ jobs:
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: gradle/actions/dependency-submission@v3
27 changes: 27 additions & 0 deletions .github/workflows/submit-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build Main

on:
push:
branches:
- main
paths:
- '**/build.gradle.kts'

jobs:
build:
permissions:
checks: write
pull-requests: write

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin

- uses: gradle/actions/dependency-submission@v3

0 comments on commit fa1e459

Please sign in to comment.