chore(deps): bump step-security/harden-runner from 80b2fcb96ae248b7b80d284855acf93c338a6a0a to 4a1e83c9ef6b0e39b16f17b2734e08cdfbeea46c #720
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (c) 2019 Red Hat, Inc. | |
# This program and the accompanying materials are made | |
# available under the terms of the Eclipse Public License 2.0 | |
# which is available at: | |
# | |
# https://www.eclipse.org/legal/epl-2.0/ | |
# | |
# SPDX-License-Identifier: EPL-2.0 | |
# | |
# Contributors: | |
# Red Hat, Inc. - initial API and implementation | |
# | |
name: License Check | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
license: | |
name: License Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@4a1e83c9ef6b0e39b16f17b2734e08cdfbeea46c | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
repo1.maven.org:443 | |
- name: Checkout | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- name: Setup Java 11 | |
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- name: mvn license:check | |
run: mvn -N license:check |