Skip to content

Commit

Permalink
CL-0: Saving changes
Browse files Browse the repository at this point in the history
  • Loading branch information
antonello-simeon-m0 committed Dec 12, 2024
1 parent 62e7aaf commit 5ad5712
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions .github/workflows/license_finder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,31 +24,27 @@ jobs:
runs-on: 'ubuntu-latest'
steps:

# Checking out the GitHub repository on the runner
# 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

- name: copy doc folder
run: |
cp -r doc .
# Checking out the GitHub repository on the runner
- name: Checkout
uses: 'actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608'

- name: List files
run: |
ls -la
with:
path: ${{ github.event.repository.name }}

# Uses github action to pull docker image and run commands
#- name: Run the build process with Docker
# uses: 'addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185'
# with:
# username: ${{ vars.LICENSE_FINDER_GITLAB_REGISTRY_USERNAME }}
# password: ${{ secrets.LICENSE_FINDER_GITLAB_REGISTRY_PASSWORD }}
# registry: ${{ env.CONTAINER_REGISTRY }}
# image: ${{ env.CONTAINER_REGISTRY }}/crosslend/docker/license-finder/main
# run: |
# source /usr/share/rvm/scripts/rvm; license_finder --prepare --composer-check-require-only=true --decisions-file=/doc/dependency_decisions.yml --python-version=3
- name: Run the build process with Docker
uses: 'addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185'
with:
username: ${{ vars.LICENSE_FINDER_GITLAB_REGISTRY_USERNAME }}
password: ${{ secrets.LICENSE_FINDER_GITLAB_REGISTRY_PASSWORD }}
registry: ${{ env.CONTAINER_REGISTRY }}
image: ${{ env.CONTAINER_REGISTRY }}/crosslend/docker/license-finder/main
run: |
source /usr/share/rvm/scripts/rvm; license_finder --prepare --composer-check-require-only=true --decisions-file=${{ github.event.repository.name }}/doc/dependency_decisions.yml --python-version=3

0 comments on commit 5ad5712

Please sign in to comment.