From ee265dc10c010579e489f58ca3cbfce9b7393d64 Mon Sep 17 00:00:00 2001 From: Melanija Cvetic Date: Tue, 24 Dec 2024 10:46:44 +0000 Subject: [PATCH] Tests codehealth without permissions_config var --- .github/workflows/code-health.yml | 4 ---- Makefile | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code-health.yml b/.github/workflows/code-health.yml index 5fc0320..c9b4f04 100644 --- a/.github/workflows/code-health.yml +++ b/.github/workflows/code-health.yml @@ -16,8 +16,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: GitHubSecurityLab/actions-permissions/monitor@v1 - with: - config: ${{ vars.PERMISSIONS_CONFIG }} - uses: actions/checkout@v4 - name: Install Go uses: actions/setup-go@v5 @@ -42,8 +40,6 @@ jobs: steps: - uses: GitHubSecurityLab/actions-permissions/monitor@v1 if: ${{ matrix.os=='ubuntu-latest' }} - with: - config: ${{ vars.PERMISSIONS_CONFIG }} - name: Checkout repository uses: actions/checkout@v4 with: diff --git a/Makefile b/Makefile index 0fd73c6..13a1389 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,9 @@ fuzz-normalizer-test: ## Run fuzz test @echo "==> Running fuzz test..." $(TEST_CMD) -fuzz=Fuzz -fuzztime 50s --tags="$(UNIT_TAGS)" -race ./internal/kubernetes/operator/resources +.PHONY: lint +lint: ## Run linter + golangci-lint run .PHONY: help .DEFAULT_GOAL := help