Skip to content

Commit

Permalink
ci(github-actions): publis hdependency graph
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelcoll committed Feb 27, 2024
1 parent b6d6287 commit bb0fb7a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,17 @@ updates:
directory: "/"
schedule:
interval: "daily"
registries:
- maven-github

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"

registries:
maven-github:
type: maven-repository
url: https://maven.pkg.github.com/octocat
username: ${{ vars.MAVEN_USER }}
password: ${{ secrets.MAVEN_PASSWORD }}
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: build

on:
push
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

if: ${{ ! startsWith(github.ref, 'refs/tags/') }}

steps:

- uses: actions/checkout@v4
Expand Down Expand Up @@ -37,4 +38,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}
MAVEN_USER: ${{ vars.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@v4.0.0

0 comments on commit bb0fb7a

Please sign in to comment.