commit:     ac3c112d7fd031ad6f89c635b5fd2922f1d26552
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Sun Feb  8 11:07:07 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  8 15:43:53 2026 +0000
URL:        
https://gitweb.gentoo.org/proj/repo-mirror-ci.git/commit/?id=ac3c112d

pull-request: fix non-existing variable ${prid}

Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Part-of: https://github.com/gentoo/repo-mirror-ci/pull/11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 pull-request/pull-requests.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pull-request/pull-requests.bash b/pull-request/pull-requests.bash
index dc0095a..72d1b3b 100755
--- a/pull-request/pull-requests.bash
+++ b/pull-request/pull-requests.bash
@@ -13,7 +13,7 @@ pull=${PULL_REQUEST_DIR}
 if [[ -s ${pull}/current-pr ]]; then
        iid=$(<"${pull}"/current-pr)
        cd -- "${sync}"
-       hash=$(git rev-parse "refs/pull/${prid}")
+       hash=$(git rev-parse "refs/pull/${iid}")
        "${SCRIPT_DIR}"/pull-request/set-pull-request-status.py "${hash}" error 
\
                "QA checks crashed. Please rebase and check profile changes for 
syntax errors."
        sendmail "${CRONJOB_ADMIN_MAIL}" <<-EOF

Reply via email to