Skip to content

[NOT TO BE MERGED]fork test: dump github context #114

[NOT TO BE MERGED]fork test: dump github context

[NOT TO BE MERGED]fork test: dump github context #114

Workflow file for this run

---
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.event.pull_request.head.repo.full_name == github.repository
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