Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2021-10-19 00:18:17 +0300
committerTom Stellard <tstellar@redhat.com>2021-10-19 00:22:49 +0300
commit20d397f853335e9f8e7b1f773e228bed527fd699 (patch)
treeef2156dfdd883dd029886939761cf90305924696 /.github
parent2786dc1096a5147eb034603c32391d2281f1867c (diff)
workflows: Migrate repo-lockdown to GitHub Actions
https://github.com/dessant/repo-lockdown/issues/6
Diffstat (limited to '.github')
-rw-r--r--.github/lockdown.yml8
-rw-r--r--.github/workflows/repo-lockdown.yml15
2 files changed, 15 insertions, 8 deletions
diff --git a/.github/lockdown.yml b/.github/lockdown.yml
deleted file mode 100644
index e0ef8504c117..000000000000
--- a/.github/lockdown.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown
-
-skipCreatedBefore: "2020-03-21"
-
-pulls:
- comment: >
- This repository does not accept pull requests.
- Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.
diff --git a/.github/workflows/repo-lockdown.yml b/.github/workflows/repo-lockdown.yml
new file mode 100644
index 000000000000..ee7c1d8d4004
--- /dev/null
+++ b/.github/workflows/repo-lockdown.yml
@@ -0,0 +1,15 @@
+name: 'Repo Lockdown'
+on:
+ pull_request_target:
+ types: opened
+
+permissions:
+ pull-requests: write
+
+jobs:
+ action:
+ runs-on: ubuntu-lastest
+ steps:
+ - uses: dessant/repo-lockdown@v2
+ with:
+ process-only: 'prs'