license_finder #22
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
# Run License Finder | ||
name: license_finder | ||
on: | ||
#pull_request: | ||
# types: [ opened, reopened ] | ||
#push: | ||
# # Trigger on any branch push | ||
# branches: | ||
# - '**' # Match any branch | ||
workflow_dispatch: | ||
branches: | ||
- '**' # Match any branch | ||
workflow_call: | ||
# Setting environment variables which can be used in the entire workflow (only in the current one) | ||
jobs: | ||
license_finder: | ||
runs-on: 'ubuntu-latest' | ||
container: | ||
image: registry.gitlab.com/crosslend/docker/license-finder/main | ||
credentials: | ||
username: ${{ vars.LICENSE_FINDER_GITLAB_REGISTRY_USERNAME }} | ||
password: ${{ secrets.LICENSE_FINDER_GITLAB_REGISTRY_PASSWORD }} | ||
steps: | ||
# Checking out the GitHub license-finder repository on the runner | ||
- name: Checkout | ||
uses: 'actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608' | ||
with: | ||
path: license-finder | ||
repository: m0-foundation/license-finder | ||
# Checking out the GitHub repository on the runner | ||
- name: Checkout | ||
uses: 'actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608' | ||
with: | ||
path: ${{ github.event.repository.name }} | ||
- name: Check license_finder version | ||
with: | ||
entrypoint: /docker-entrypoint.sh | ||
run: | | ||
Check failure on line 44 in .github/workflows/license_finder.yml GitHub Actions / license_finderInvalid workflow file
|
||
license_finder --version | ||