[llvm] [GitHub] Add main-branch-only environment to test-suite.yml permissions check (PR #203004)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 10 07:58:22 PDT 2026
https://github.com/lukel97 created https://github.com/llvm/llvm-project/pull/203004
None
>From 0e5cb4a9f534daa59dcb62b37539b72a6b3b007f Mon Sep 17 00:00:00 2001
From: Luke Lau <luke at igalia.com>
Date: Wed, 10 Jun 2026 22:56:47 +0800
Subject: [PATCH] [GitHub] Add main-branch-only environment to test-suite.yml
permissions check
---
.github/workflows/test-suite.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml
index f2ec802f11e1b..b77f05ee34814 100644
--- a/.github/workflows/test-suite.yml
+++ b/.github/workflows/test-suite.yml
@@ -22,6 +22,9 @@ jobs:
permission-check:
if: github.event.issue.pull_request && startswith(github.event.comment.body, '/test-suite')
runs-on: ubuntu-24.04
+ environment:
+ name: main-branch-only
+ deployment: false
steps:
- uses: actions/checkout at de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
More information about the llvm-commits
mailing list