Skip to content

Commit d0a6f5a

Browse files
committed
auto close PR from fork repo to prevent custoemr submitting PRs
1 parent a6b9dee commit d0a6f5a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/close-pulls.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Auto Close Pull Requests
3+
4+
on:
5+
schedule:
6+
- cron: '0 * * * *'
7+
8+
jobs:
9+
close-fork-pulls:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Close Pull Requests
14+
uses: peter-evans/close-fork-pulls@v2
15+
with:
16+
comment: |
17+
As of 2023-11-30 we have stopped this 2-way sync so that our internal repository becomes the source of truth for the backup-utils source code. With the the 2-way sync stopped, this public repository will be used to host documentation about backup-utils and to publish new versions of backup-utils. You will be able to access a specific version of backup-utils (which includes the full source code) from the [release page](https://github.com/github/backup-utils/releases) of this repository.
18+
19+
Customers should no longer open pull requests in this repository. These pull requests will not be reviewed or merged. We will automatically close all PRs opened in this repository.
20+
21+
Customers cannot open issues in this repository. Instead, customers will need to follow the standard support process and open a support ticket for any questions/concerns/problems with backup-utils. This will ensure all customer requests are handled consistently.

0 commit comments

Comments
 (0)