Anastasia Klimchuk submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Nico Huber: Looks good to me, approved Anastasia Klimchuk: Looks good to me, approved
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>
---
A .github/workflows/lockdown.yml
1 file changed, 36 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml
new file mode 100644
index 0000000..39b6548
--- /dev/null
+++ b/.github/workflows/lockdown.yml
@@ -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).

To view, visit change 63671. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I8076f0fb964970ffd05f355b9d1e33a65aa7a3c8
Gerrit-Change-Number: 63671
Gerrit-PatchSet: 4
Gerrit-Owner: Felix Singer <felixsinger@posteo.net>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Thomas Heijligen <src@posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Martin Roth <martinroth@google.com>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-MessageType: merged