aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongdong Zhang <zhangdongdong@eswincomputing.com>2024-06-24 16:42:01 +0800
committerAnup Patel <anup@brainfault.org>2024-07-04 10:31:39 +0530
commitc531adbf08cf9cd4cad0bc0c1fbf6e8333955e44 (patch)
tree37e0db3e838bbb3b833e82212c96baf95c13ab53
parent455de672dd7c2aa1992df54dfb08dc11abbc1b1a (diff)
downloadopensbi-c531adbf08cf9cd4cad0bc0c1fbf6e8333955e44.zip
opensbi-c531adbf08cf9cd4cad0bc0c1fbf6e8333955e44.tar.gz
opensbi-c531adbf08cf9cd4cad0bc0c1fbf6e8333955e44.tar.bz2
.github: Add repo lockdown GitHub workflow and update .gitignore
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 <zhangdongdong@eswincomputing.com> Reviewed-by: Anup Patel <anup@branifault.org>
-rw-r--r--.github/workflows/repo-lockdown.yml26
-rw-r--r--.gitignore1
2 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/repo-lockdown.yml b/.github/workflows/repo-lockdown.yml
new file mode 100644
index 0000000..d74a759
--- /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
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