From patchwork Mon Jun 24 08:42:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: DongdongZhang X-Patchwork-Id: 1951430 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=ZPKWXkAj; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W71gK55KYz20X1 for ; Mon, 24 Jun 2024 18:42:37 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=QrTmneicLF2wZzrshaJo4ggmJxns9jFbJ9MJjzC5StI=; b=ZPKWXkAj9tUUJ8 FaWNr/HLQTqyD7mxIn0/s14Q+iD5ovQJPBKGLL+RaaQ8yt6xbR2JmJeyAP2MaNKTn/guzaj5IAOTy Nx5QOkYZNN7GoJyq8Hvh3Wi8dQbCu9dTONdlOqu3/ePp0UjlMwqlV6fLpUWF9Zald/87lYqob90du OwI0DMKXL0AdmwvqPXnRQWyD71xEcG+87oijz0r/KzxFA7QadwC0gOtEYVXH6CPUYadJyotoXalMk qIlNGAejNPHXAsIkwXPwYyob9S+j0GOvYX43pXV0yx/r0IJ+TMpB/mDg6V5tXFCj7IdAS2ovHRDo+ pC8nhr12t695NXkJvb5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLfHQ-0000000G5po-3V9s; Mon, 24 Jun 2024 08:42:28 +0000 Received: from zg8tmja2lje4os43os4xodqa.icoremail.net ([206.189.79.184]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLfHM-0000000G5ok-2yvs for opensbi@lists.infradead.org; Mon, 24 Jun 2024 08:42:27 +0000 Received: from ubuntu18.eswin.cn (unknown [10.12.192.173]) by app2 (Coremail) with SMTP id TQJkCgBXabtaMXlmBJERAA--.56676S4; Mon, 24 Jun 2024 16:42:03 +0800 (CST) From: zhangdongdong@eswincomputing.com To: opensbi@lists.infradead.org Cc: zhangdongdong@eswincomputing.com Subject: [PATCH] .github: Add repo lockdown GitHub workflow and update .gitignore Date: Mon, 24 Jun 2024 16:42:01 +0800 Message-Id: <20240624084201.4290-1-zhangdongdong@eswincomputing.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: TQJkCgBXabtaMXlmBJERAA--.56676S4 X-Coremail-Antispam: 1UD129KBjvJXoW7uFW7trWDAFWUtw1xWr47CFg_yoW8Ar4fp3 y5GFyavrW2qr9rC3WfJa4Igw45Kan5Cw4UJa47ur1qyrnxXa1qkr15tF15t3W7Gr4xCr4Y vFyqqrWkKF1rWw7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUv014x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0 rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK02 1l84ACjcxK6xIIjxv20xvE14v26w1j6s0DM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4U JVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gc CE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E 2Ix0cI8IcVAFwI0_JrI_JrylYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJV W8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1lw4CEc2x0rVAKj4xx MxkIecxEwVCm-wCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c 02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jrv_ JF1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7 CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v2 6r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7VUb 92-5UUUUU== X-CM-SenderInfo: x2kd0wpgrqwvxrqjqvxvzl0uprps33xlqjhudrp/1tbiAgESCmZ37bYnmwACsv X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240624_014224_943165_3B688270 X-CRM114-Status: GOOD ( 14.44 ) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Dongdong Zhang This commit adds a new GitHub Actions workflow for repository lockdown. The workflow triggers when a pull request is opened, and it notifies the contributor to use the OpenSBI mailing list for patch r [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [206.189.79.184 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Dongdong Zhang This commit adds a new GitHub Actions workflow for repository lockdown. The workflow triggers when a pull request is opened, and it notifies the contributor to use the OpenSBI mailing list for patch reviews. Additionally, the .gitignore file is updated to include the .github directory. Signed-off-by: Dongdong Zhang Reviewed-by: Anup Patel --- .github/workflows/repo-lockdown.yml | 26 ++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/repo-lockdown.yml diff --git a/.github/workflows/repo-lockdown.yml b/.github/workflows/repo-lockdown.yml new file mode 100644 index 0000000..80e32ed --- /dev/null +++ b/.github/workflows/repo-lockdown.yml @@ -0,0 +1,26 @@ +name: 'Repo Lockdown' + +on: + pull_request_target: + types: opened + +permissions: + pull-requests: write + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/repo-lockdown@v4 + with: + pr-comment: | + We have mailing list based patch review so it would be great if you can send these patchs to OpenSBI mailing list. + + You need to join OpenSBI mailing list using following link + http://lists.infradead.org/mailman/listinfo/opensbi + + Make sure you use "git send-email" to send the patches. + + Thanks for your contribution to OpenSBI project. + lock-pr: true + close-pr: true \ No newline at end of file diff --git a/.gitignore b/.gitignore index fbba52e..a519d67 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ # exceptions we need even begin with dot !.clang-format !.gitignore +!.github # Object files *.o