feat: allow to pass grant output format in GitHub action #3
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
# This workflow only checks the licenses of this repository | |
# (saleor/saleor-internal-actions). | |
name: Check Licenses | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
paths: | |
# Self | |
- ".github/workflows/self-check-licenses.yaml" | |
- ".github/workflows/run-license-check.yaml" | |
- "grant-license-checker/**" | |
- "sbom-generator/**" | |
# Python Ecosystem | |
- "**/pyproject.toml" | |
- "**/setup.py" | |
- "**/requirements*.txt" | |
- "**/Pipfile.lock" | |
- "**/poetry.lock" | |
# JS/TS Ecosystem | |
- "**/package.json" | |
- "**/pnpm-lock.yaml" | |
- "**/package-lock.json" | |
jobs: | |
default: | |
permissions: | |
contents: read | |
pull-requests: write | |
uses: ./.github/workflows/run-license-check.yaml |