Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created September 20, 2024 21:42
Show Gist options
  • Save KyMidd/c34d11950c5e4e807d3e480c4042a037 to your computer and use it in GitHub Desktop.
Save KyMidd/c34d11950c5e4e807d3e480c4042a037 to your computer and use it in GitHub Desktop.
- name: Copy the license file to the action directory
shell: bash
run: |
cp ${{ github.action_path }}/org_get_all_repos_sbom.py .
- name: Run License Analysis
shell: bash
run: python3 org_get_all_repos_sbom.py
env:
GITHUB_ORG: ${{ inputs.GITHUB_ORG_NAME }}
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
- name: Upload License Overview as Artifact
uses: actions/upload-artifact@v4
with:
name: org-license-csv
path: '*.csv'
branding:
icon: 'arrow-down-circle'
color: 'gray-dark'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment