kubeedge/.github/workflows/fossa.yml
Gagan H R 6735c1b26e fix: adding required permissions to top level and jobs in the workflow
Signed-off-by: Gagan H R <hrgagan4@gmail.com>
2026-04-19 11:16:34 +00:00

34 lines
725 B
YAML

name: FOSSA
on:
push:
branches: [master]
paths-ignore:
- '**.md'
- 'docs/**'
- '**/OWNERS'
- '**/MAINTAINERS'
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
- '**/OWNERS'
- '**/MAINTAINERS'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "^1.23.x"
- run: go version
# Runs a set of commands to initialize and analyze with FOSSA
- name: run FOSSA analysis
uses: fossas/fossa-action@main
with:
# FOSSA Push-Only API Token
api-key: '87a9c35cbed49f802657f98b60134ee8'