Auto-close Pull Requests from Forks #326
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2023-2024 tracetronic GmbH | |
# | |
# SPDX-License-Identifier: MIT | |
name: Auto-close Pull Requests from Forks | |
on: | |
pull_request: | |
types: [opened, reopened] | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
close-prs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Close Pull Requests | |
uses: peter-evans/close-fork-pulls@v2 | |
with: | |
comment: | | |
We do not accept any external pull requests. Auto-closing this pull request. | |
If you have any questions, please contact us at [[email protected]](mailto:[email protected]). |