Skip to content

[StepSecurity] ci: Harden GitHub Actions (#224) #2

[StepSecurity] ci: Harden GitHub Actions (#224)

[StepSecurity] ci: Harden GitHub Actions (#224) #2

name: Dependency Submission
on:
workflow_dispatch:
push:
branches:
- main
jobs:
submit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Setup Java JDK
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: temurin
java-version: 17
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@c5ad0fd6b977364190852883b46728f25a9617c3 # v3.0.2