operator: Add loki operator service account to limit resource access #3901
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: operator scorecard | |
on: | |
push: | |
paths: | |
- 'operator/**' | |
branches: [ main ] | |
pull_request: | |
paths: | |
- 'operator/**' | |
jobs: | |
build: | |
name: scorecard | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
go: ['1.20'] | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
id: go | |
- uses: engineerd/[email protected] | |
with: | |
version: "v0.17.0" | |
- uses: actions/checkout@v3 | |
- name: Install make | |
run: sudo apt-get install make | |
- name: Run scorecard | |
run: make scorecard | |
working-directory: ./operator |