Skip to content

ci: add dispatch release event for sync #9

ci: add dispatch release event for sync

ci: add dispatch release event for sync #9

Workflow file for this run

name: Operator Scorecard Test
on: [push, pull_request]
jobs:
scorecard-check:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup and start KinD cluster
uses: ./.github/actions/kind
- name: Build bundle
run: make bundle-build
- name: Install yq
run: |
sudo wget -O /usr/bin/yq https://github.com/mikefarah/yq/releases/download/v4.6.1/yq_linux_amd64
sudo chmod +x /usr/bin/yq
- name: Modify scorecard config
run: |
yq e 'del(.stages[].tests[] | select(.labels.test == "olm-crds-have-resources-test"))' -i bundle/tests/scorecard/config.yaml
- name: Run Operator SDK Scorecard
run: make scorecard-bundle