1
0
mirror of https://github.com/rancher/cli.git synced 2026-02-06 03:48:17 +01:00
Files
cli/.github/workflows/fossa.yml
Enrico Candino 11d795b557 Fix panic on context switch (#386)
* added bool check for missing focused server, fixed panic

* added main branch to FOSSA workflow

* return error instead of bool
2024-08-22 15:58:43 +02:00

34 lines
640 B
YAML

name: FOSSA
on:
workflow_dispatch:
push:
tags:
- v*
branches:
- v*
- main
jobs:
fossa:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # needed for the Vault authentication
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Load Secrets from Vault
uses: rancher-eio/read-vault-secrets@main
with:
secrets: |
secret/data/github/org/rancher/fossa/push token | FOSSA
- name: Check FOSSA compliance
uses: fossas/fossa-action@main
with:
api-key: ${{ env.FOSSA }}