Skip to content

Commit

Permalink
Add GHA to submit dependencies to dependabot (#5440) [ci fast]
Browse files Browse the repository at this point in the history

Signed-off-by: Arnau Alcázar Lleopart <[email protected]>
  • Loading branch information
arnaualcazar authored Oct 30, 2024
1 parent ff2bc6a commit 80395a6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/generate-send-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Generate and submit dependency graph for nextflow
on:
push:
branches: ['master']

permissions:
contents: write

jobs:
dependency-submission:
runs-on: ubuntu-latest
strategy:
matrix:
components: ["nextflow", "plugins:nf-google", "plugins:nf-amazon", "plugins:nf-azure", "plugins:nf-cloudcache", "plugins:nf-codecommit", "plugins:nf-console", "plugins:nf-tower", "plugins:nf-wave"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21

- name: Generate and submit dependency graph for nextflow
uses: gradle/actions/dependency-submission@v4
with:
dependency-resolution-task: ":${{ matrix.components }}:dependencies"
additional-arguments: "--configuration runtimeClasspath"
dependency-graph: generate-and-submit

0 comments on commit 80395a6

Please sign in to comment.