aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-04-16 21:27:21 +0200
committerAnastasia Klimchuk <aklm@chromium.org>2022-04-28 02:01:50 +0000
commitdcac005071c058c2acd239eabcf00ce133c32823 (patch)
tree7a92404b345ba7225ae8f9b730788b598e48ddcf /.github
parent76118a7c10ed59acc8d98c1c718e3aefd0f10497 (diff)
downloadflashrom-dcac005071c058c2acd239eabcf00ce133c32823.tar.gz
flashrom-dcac005071c058c2acd239eabcf00ce133c32823.tar.bz2
flashrom-dcac005071c058c2acd239eabcf00ce133c32823.zip
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>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lockdown.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml
new file mode 100644
index 00000000..39b65489
--- /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).