From 4d4828530b5880a0c186b413a534c88162b410b0 Mon Sep 17 00:00:00 2001 From: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com> Date: Fri, 29 Mar 2024 08:54:13 +0100 Subject: [PATCH] ci: remove redis auth (#353) Redis auth has been disabled, so no more need to fetch credentials for it. --- .github/workflows/renovate.yaml | 3 --- .policy.yml | 7 ------- 2 files changed, 10 deletions(-) diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml index 203b460..a9349a8 100644 --- a/.github/workflows/renovate.yaml +++ b/.github/workflows/renovate.yaml @@ -23,9 +23,6 @@ jobs: echo "$private_key" echo EOF } >> "$GITHUB_ENV" - redis_url="redis://$(cat /secrets/redis-creds | jq '.data.username' -r):$(cat /secrets/redis-creds | jq '.data.password' -r)@redis-master.redis.svc.cluster.local:6379/0" - echo "::add-mask::$redis_url" - echo RENOVATE_REDIS_URL="$redis_url" >> "$GITHUB_ENV" password="$(cat /secrets/github-ghcr-token)" echo "::add-mask::$password" echo DOCKER_GHCR_IO_PASSWORD="$password" >> "$GITHUB_ENV" diff --git a/.policy.yml b/.policy.yml index 0b7b59e..6b3fb08 100644 --- a/.policy.yml +++ b/.policy.yml @@ -9,8 +9,6 @@ approval_rules: if: has_author_in: users: ["OGKevin"] - has_successful_status: - - "npm / npm" options: allow_author: true allow_contributor: true @@ -23,17 +21,12 @@ approval_rules: requires: count: 1 users: ["OGKevin"] - if: - has_successful_status: - - "npm / npm" - name: Kevin helps bot and approves if: has_author_in: users: ["ogkevin-robot[bot]"] has_contributor_in: users: ["OGKevin"] - has_successful_status: - - "npm / npm" options: allow_non_author_contributor: true methods: