1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-26 22:52:34 +02:00

Close GitHub PRs and issues automatically

The flashrom project does not use GitHub for pull requests or issues.
Thus, close issues and pull requests automatically using a GitHub
Actions hook. Also, add a comment pointing to our guidelines.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: I8076f0fb964970ffd05f355b9d1e33a65aa7a3c8
Reviewed-on: https://review.coreboot.org/c/flashrom/+/63671
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:
Felix Singer 2022-04-16 21:27:21 +02:00 committed by Anastasia Klimchuk
parent 76118a7c10
commit dcac005071

36
.github/workflows/lockdown.yml vendored Normal file
View File

@ -0,0 +1,36 @@
name: 'Close issues and PRs'
on:
issues:
types: opened
pull_request_target:
types: opened
permissions:
issues: write
pull-requests: write
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/repo-lockdown@0b093279a77b44bbc38e85089b5463dd06b4aea4
with:
issue-comment: >
Thank you for your contribution. The flashrom project does not handle
GitHub issues or pull requests, since this repository on GitHub is
just a mirror of our actual repository. Thus, we would like to
encourage you to have a look at on our [development guidelines](https://www.flashrom.org/Development_Guidelines)
and submit your patch to [review.coreboot.org](https://review.coreboot.org/q/project:flashrom).
Issues are handled over our [ticket system](https://ticket.coreboot.org/projects/flashrom).
If you have questions, feel free to reach out to us. There are
multiple ways to [contact us](https://www.flashrom.org/Contact).
pr-comment: >
Thank you for your contribution. The flashrom project does not handle
GitHub issues or pull requests, since this repository on GitHub is
just a mirror of our actual repository. Thus, we would like to
encourage you to have a look at on our [development guidelines](https://www.flashrom.org/Development_Guidelines)
and submit your patch to [review.coreboot.org](https://review.coreboot.org/q/project:flashrom).
Issues are handled over our [ticket system](https://ticket.coreboot.org/projects/flashrom).
If you have questions, feel free to reach out to us. There are
multiple ways to [contact us](https://www.flashrom.org/Contact).