From 82a134b696004e60982166460decee0d98eb64d6 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Tue, 22 Sep 2026 16:42:26 -0600 Subject: [PATCH] ci: allow lsr org members to run ci tests Do not require write access to run ci tests. Allow any linux-system-roles organization member to run ci tests. There is already a check in the job level `if` condition to ensure the commenter is an org member. This just removes the extra check to see if the commenter has write access. Signed-off-by: Rich Megginson --- .github/workflows/citest.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/citest.yml b/.github/workflows/citest.yml index f48775b5bf..9d8dc7c3bb 100644 --- a/.github/workflows/citest.yml +++ b/.github/workflows/citest.yml @@ -34,19 +34,6 @@ jobs: REPO: ${{ github.repository }} run: | set -euo pipefail - if [ "$COMMENTER" != systemroller ]; then - permission=$(gh api \ - "repos/${REPO}/collaborators/${COMMENTER}/permission" \ - --jq '.permission') - case "$permission" in - admin|maintain|write) ;; - *) - echo "@${COMMENTER} does not have permission to run CI tests" >&2 - exit 1 - ;; - esac - fi - command_line=${COMMENT_BODY%%$'\n'*} command_line=${command_line%$'\r'} read -r -a words <<<"$command_line"