From 317aedb9b13a35948af00a95f0155a7e9c50ef49 Mon Sep 17 00:00:00 2001 From: Lennart Fleischmann Date: Tue, 5 Nov 2024 18:45:55 +0100 Subject: [PATCH] ci: remove reviewers from schema generation workflows The GITHUB_TOKEN used in the workflow does not have permissions to read organization data. Adding team reviewers requires such a permission. This commit removes requesting team reviewers when creating the PR via GitHub CLI. --- .github/workflows/schema-generate-config.yml | 1 - .github/workflows/schema-generate-import.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/schema-generate-config.yml b/.github/workflows/schema-generate-config.yml index d75ed00d1..4a4f85962 100644 --- a/.github/workflows/schema-generate-config.yml +++ b/.github/workflows/schema-generate-config.yml @@ -41,7 +41,6 @@ jobs: git push origin HEAD gh pr create \ -B main \ - -r teamhanko/developers \ -H "chore-autogenerate-config-json-schema-${{ github.run_id }}" \ -t "chore: autogenerate config JSON schema" \ -b '# Description diff --git a/.github/workflows/schema-generate-import.yml b/.github/workflows/schema-generate-import.yml index 36f826da3..44134b550 100644 --- a/.github/workflows/schema-generate-import.yml +++ b/.github/workflows/schema-generate-import.yml @@ -39,7 +39,6 @@ jobs: git push origin HEAD gh pr create \ -B main \ - -r teamhanko/developers \ -H "chore-autogenerate-import-json-schema-${{ github.run_id }}" \ -t "chore: autogenerate import JSON schema" \ -b '# Description