Skip to content

Merge pull request #103 from bjhargrave/dependabot/github_actions/ste… #12

Merge pull request #103 from bjhargrave/dependabot/github_actions/ste…

Merge pull request #103 from bjhargrave/dependabot/github_actions/ste… #12

name: 'Dependency Submission'
on:
push:
branches:
- 'main'
env:
LC_ALL: en_US.UTF-8
defaults:
run:
shell: bash
permissions:
contents: write
jobs:
dependency-submission:
strategy:
matrix:
os:
- 'ubuntu-latest'
java:
- '17'
name: Submit Dependencies
runs-on: ${{ matrix.os }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
jcenter.bintray.com:443
objects.githubusercontent.com:443
plugins-artifacts.gradle.org:443
plugins.gradle.org:443
repo.maven.apache.org:443
services.gradle.org:443
- name: Git Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@db19848a5fa7950289d3668fb053140cf3028d43