add FOSSA PR scan; update label requirements [sc-53201][sc-53409]

This commit is contained in:
Nick Meyer
2022-09-15 10:17:34 -05:00
parent ad4cfc6d9e
commit ebd49e70df
4 changed files with 28 additions and 7 deletions
+4
View File
@@ -0,0 +1,4 @@
version: 3
project:
id: github.com/replicatedhq/troubleshoot
+19
View File
@@ -0,0 +1,19 @@
name: PR license scan
on:
pull_request:
jobs:
fossa-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Run FOSSA Analyze"
uses: fossas/fossa-action@main
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
- name: "Run FOSSA Test"
uses: fossas/fossa-action@main
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
run-tests: true
+3 -7
View File
@@ -12,15 +12,11 @@ on:
- synchronize
jobs:
require_pr_labels:
require-pr-labels:
uses: replicatedhq/reusable-workflows/.github/workflows/pr-enforce-labels.yaml@main
require-bug-labels:
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v2
with:
mode: exactly
count: 1
labels: "type::feature, type::bug, type::chore, type::tests, type::security, type::docs"
- uses: mheap/github-action-required-labels@v2
if: ${{ github.event.label.name == 'type::bug' }}
with:
+2
View File
@@ -1,5 +1,7 @@
# Replicated Troubleshoot
[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B5995%2Fgithub.com%2Freplicatedhq%2Ftroubleshoot.svg?type=small)](https://app.fossa.com/projects/custom%2B5995%2Fgithub.com%2Freplicatedhq%2Ftroubleshoot?ref=badge_small)
Replicated Troubleshoot is a framework for collecting, redacting, and analyzing highly customizable diagnostic information about a Kubernetes cluster. Troubleshoot specs are created by 3rd-party application developers/maintainers and run by cluster operators in the initial and ongoing operation of those applications.
Troubleshoot provides two CLI tools as kubectl plugins (using [Krew](https://krew.dev)): `kubectl preflight` and `kubectl support-bundle`. Preflight provides pre-installation cluster conformance testing and validation (preflight checks) and support-bundle provides post-installation troubleshooting and diagnostics (support bundles).