1
0
mirror of https://github.com/rancher/cli.git synced 2026-02-05 18:48:50 +01:00
Files
cli/.github/workflows/fossa.yml
renovate-rancher[bot] cac8ee1887 Update GitHub Actions
2025-12-08 06:44:37 +00:00

34 lines
683 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@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- 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 }}