summaryrefslogtreecommitdiff
path: root/.github/workflows/lockdown.yml
blob: 2250162ec9b0f322121847a7b1fa5b876855f6cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown

name: 'Repo Lockdown'

on:
  issues:
    types: opened
  pull_request_target:
    types: opened

permissions:
  pull-requests: write
  issues: write

jobs:
  action:
    runs-on: ubuntu-latest
    steps:
      - uses: dessant/repo-lockdown@v2
        with:
          issue-comment: |
            Thank you for your interest in the libvirt project.

            Since this repository is a read-only mirror of the project's master
            repostory hosted on GitLab, issues opened here are not processed.

            We kindly request that new issues are reported to

              https://gitlab.com/libvirt/libvirt-python/-/issues/new

            Thank you for your time and understanding.
          lock-issue: true
          close-issue: true
          pr-comment: |
            Thank you for your interest in the libvirt project.

            Since this repository is a read-only mirror of the project's master
            repostory hosted on GitLab, merge requests opened here are not
            processed.

            We kindly request that contributors fork the project at

              https://gitlab.com/libvirt/libvirt-python/

            push changes to the fork, and then open a new merge request at

              https://gitlab.com/libvirt/libvirt-python/-/merge_requests/new

            Thank you for your time and understanding.
          lock-pr: true
          close-pr: true