chore(deps): bump step-security/harden-runner from 394d78e5b40cc35c170eb909b1f81551f37feb05 to 80b2fcb96ae248b7b80d284855acf93c338a6a0a #717
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@80b2fcb96ae248b7b80d284855acf93c338a6a0a | |
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 |