From d08513a33e13a3d0b7a55c9f9ef30bc1415508b7 Mon Sep 17 00:00:00 2001 From: Simon Schrottner Date: Thu, 23 Mar 2023 07:20:24 +0100 Subject: [PATCH] fix: Peribolos improvements Two issues have been identified after the merge. 1. although we call us openFeature the Orgaization ID is `open-feature` and the directory name is actually used as an ID 2. The verification via PR check was a great idea, but has a downside. we do not want to share such a powerful token with non members. therefore i deactivate the pr verification for non forks with peribolos. Signed-off-by: Simon Schrottner --- .github/workflows/peribolos.yaml | 2 +- .../{openFeature => open-feature}/cloud-native/workgroup.yaml | 0 config/{openFeature => open-feature}/education/workgroup.yaml | 0 config/{openFeature => open-feature}/org.yaml | 0 config/{openFeature => open-feature}/org/workgroup.yaml | 0 config/{openFeature => open-feature}/sdk-dotnet/workgroup.yaml | 0 config/{openFeature => open-feature}/sdk-golang/workgroup.yaml | 0 config/{openFeature => open-feature}/sdk-java/workgroup.yaml | 0 .../{openFeature => open-feature}/sdk-javascript/workgroup.yaml | 0 config/{openFeature => open-feature}/sdk-php/workgroup.yaml | 0 config/{openFeature => open-feature}/sdk-python/workgroup.yaml | 0 config/{openFeature => open-feature}/sdk-ruby/workgroup.yaml | 0 config/{openFeature => open-feature}/sdk-rust/workgroup.yaml | 0 config/{openFeature => open-feature}/utils/workgroup.yaml | 0 14 files changed, 1 insertion(+), 1 deletion(-) rename config/{openFeature => open-feature}/cloud-native/workgroup.yaml (100%) rename config/{openFeature => open-feature}/education/workgroup.yaml (100%) rename config/{openFeature => open-feature}/org.yaml (100%) rename config/{openFeature => open-feature}/org/workgroup.yaml (100%) rename config/{openFeature => open-feature}/sdk-dotnet/workgroup.yaml (100%) rename config/{openFeature => open-feature}/sdk-golang/workgroup.yaml (100%) rename config/{openFeature => open-feature}/sdk-java/workgroup.yaml (100%) rename config/{openFeature => open-feature}/sdk-javascript/workgroup.yaml (100%) rename config/{openFeature => open-feature}/sdk-php/workgroup.yaml (100%) rename config/{openFeature => open-feature}/sdk-python/workgroup.yaml (100%) rename config/{openFeature => open-feature}/sdk-ruby/workgroup.yaml (100%) rename config/{openFeature => open-feature}/sdk-rust/workgroup.yaml (100%) rename config/{openFeature => open-feature}/utils/workgroup.yaml (100%) diff --git a/.github/workflows/peribolos.yaml b/.github/workflows/peribolos.yaml index 589d997d..33929140 100644 --- a/.github/workflows/peribolos.yaml +++ b/.github/workflows/peribolos.yaml @@ -32,7 +32,7 @@ jobs: run: echo ${{ secrets.PERIBOLOS_GH_TOKEN }} >> github-token # a secret with the user token to be used for execution - name: Run Peribolos Configuration Verification - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository uses: docker://ghcr.io/dynatrace-innovationlab/peribolos:v0 with: args: ${{ env.PERIBOLOS_ARGS }} --github-token-path github-token --config-path peribolos.yaml diff --git a/config/openFeature/cloud-native/workgroup.yaml b/config/open-feature/cloud-native/workgroup.yaml similarity index 100% rename from config/openFeature/cloud-native/workgroup.yaml rename to config/open-feature/cloud-native/workgroup.yaml diff --git a/config/openFeature/education/workgroup.yaml b/config/open-feature/education/workgroup.yaml similarity index 100% rename from config/openFeature/education/workgroup.yaml rename to config/open-feature/education/workgroup.yaml diff --git a/config/openFeature/org.yaml b/config/open-feature/org.yaml similarity index 100% rename from config/openFeature/org.yaml rename to config/open-feature/org.yaml diff --git a/config/openFeature/org/workgroup.yaml b/config/open-feature/org/workgroup.yaml similarity index 100% rename from config/openFeature/org/workgroup.yaml rename to config/open-feature/org/workgroup.yaml diff --git a/config/openFeature/sdk-dotnet/workgroup.yaml b/config/open-feature/sdk-dotnet/workgroup.yaml similarity index 100% rename from config/openFeature/sdk-dotnet/workgroup.yaml rename to config/open-feature/sdk-dotnet/workgroup.yaml diff --git a/config/openFeature/sdk-golang/workgroup.yaml b/config/open-feature/sdk-golang/workgroup.yaml similarity index 100% rename from config/openFeature/sdk-golang/workgroup.yaml rename to config/open-feature/sdk-golang/workgroup.yaml diff --git a/config/openFeature/sdk-java/workgroup.yaml b/config/open-feature/sdk-java/workgroup.yaml similarity index 100% rename from config/openFeature/sdk-java/workgroup.yaml rename to config/open-feature/sdk-java/workgroup.yaml diff --git a/config/openFeature/sdk-javascript/workgroup.yaml b/config/open-feature/sdk-javascript/workgroup.yaml similarity index 100% rename from config/openFeature/sdk-javascript/workgroup.yaml rename to config/open-feature/sdk-javascript/workgroup.yaml diff --git a/config/openFeature/sdk-php/workgroup.yaml b/config/open-feature/sdk-php/workgroup.yaml similarity index 100% rename from config/openFeature/sdk-php/workgroup.yaml rename to config/open-feature/sdk-php/workgroup.yaml diff --git a/config/openFeature/sdk-python/workgroup.yaml b/config/open-feature/sdk-python/workgroup.yaml similarity index 100% rename from config/openFeature/sdk-python/workgroup.yaml rename to config/open-feature/sdk-python/workgroup.yaml diff --git a/config/openFeature/sdk-ruby/workgroup.yaml b/config/open-feature/sdk-ruby/workgroup.yaml similarity index 100% rename from config/openFeature/sdk-ruby/workgroup.yaml rename to config/open-feature/sdk-ruby/workgroup.yaml diff --git a/config/openFeature/sdk-rust/workgroup.yaml b/config/open-feature/sdk-rust/workgroup.yaml similarity index 100% rename from config/openFeature/sdk-rust/workgroup.yaml rename to config/open-feature/sdk-rust/workgroup.yaml diff --git a/config/openFeature/utils/workgroup.yaml b/config/open-feature/utils/workgroup.yaml similarity index 100% rename from config/openFeature/utils/workgroup.yaml rename to config/open-feature/utils/workgroup.yaml