[NOT TO BE MERGED]fork test: dump github context #112
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
--- | |
name: License Scan | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
dump-github: | |
name: Dump Github context | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: echo "$GITHUB_CONTEXT" | |
fossa-scan: | |
name: Find license compliance and security issues | |
if: github.repository == 'Kuadrant/limitador' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: fossas/[email protected] | |
name: License Scan | |
with: | |
api-key: ${{secrets.FOSSA_API_TOKEN}} | |
branch: ${{ github.head_ref || github.ref_name }} | |
project: git+github.com/Kuadrant/limitador | |
- uses: fossas/[email protected] | |
name: License test for issues | |
with: | |
api-key: ${{secrets.FOSSA_API_TOKEN}} | |
run-tests: true | |
project: git+github.com/Kuadrant/limitador |