Open vorburger opened 1 year ago
I tried this solution and does not work for me
I'm using a two-step solution:
steps:
- name: Get default branch
id: defaultBranch
run: echo "ref=refs/heads/${{github.event.repository.default_branch}}" >> $GITHUB_OUTPUT
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@v3
if: github.ref == steps.defaultBranch.outputs.ref
This fixes #17
It works for me like this, see https://github.com/MariaDB4j/MariaDB4j/pull/759/files