Skip to content

Commit 3d64429

Browse files
committed
Switch to new GitHub repo-lockdown configuration
The repo-lockdown service used to run as a bot outside GitHub, but has now switched to using the GitHub Actions workflow framework. This requires use of a new configuration file. Signed-off-by: Daniel P. Berrangé <[email protected]>
1 parent f4d3863 commit 3d64429

File tree

2 files changed

+52
-36
lines changed

2 files changed

+52
-36
lines changed

.github/lockdown.yml

-36
This file was deleted.

.github/workflows/lockdown.yml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown
3+
4+
name: 'Repo Lockdown'
5+
6+
on:
7+
issues:
8+
types: opened
9+
pull_request_target:
10+
types: opened
11+
12+
permissions:
13+
pull-requests: write
14+
issues: write
15+
16+
jobs:
17+
action:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: dessant/repo-lockdown@v2
21+
with:
22+
issue-comment: |
23+
Thank you for your interest in the libvirt project.
24+
25+
Since this repository is a read-only mirror of the project's master
26+
repostory hosted on GitLab, issues opened here are not processed.
27+
28+
We kindly request that new issues are reported to
29+
30+
https://gitlab.com/libvirt/libvirt-dbus/-/issues/new
31+
32+
Thank you for your time and understanding.
33+
lock-issue: true
34+
close-issue: true
35+
pr-comment: |
36+
Thank you for your interest in the libvirt project.
37+
38+
Since this repository is a read-only mirror of the project's master
39+
repostory hosted on GitLab, merge requests opened here are not
40+
processed.
41+
42+
We kindly request that contributors fork the project at
43+
44+
https://gitlab.com/libvirt/libvirt-dbus/
45+
46+
push changes to the fork, and then open a new merge request at
47+
48+
https://gitlab.com/libvirt/libvirt-dbus/-/merge_requests/new
49+
50+
Thank you for your time and understanding.
51+
lock-pr: true
52+
close-pr: true

0 commit comments

Comments
 (0)