From dcac005071c058c2acd239eabcf00ce133c32823 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sat, 16 Apr 2022 21:27:21 +0200 Subject: 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 Change-Id: I8076f0fb964970ffd05f355b9d1e33a65aa7a3c8 Reviewed-on: https://review.coreboot.org/c/flashrom/+/63671 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Anastasia Klimchuk --- .github/workflows/lockdown.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/lockdown.yml 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). -- cgit v1.2.3