From 96cf0a583213f190e4b14240365ebae38bb55e94 Mon Sep 17 00:00:00 2001 From: Zach FettersMoore Date: Thu, 12 Oct 2023 12:37:23 -0400 Subject: [PATCH] Updating pagination docs and pr close bot (apollographql/apollo-ios-dev#82) --- .../.github/workflows/pr-close.yml | 14 ++++++++++++++ apollo-ios-pagination/CONTRIBUTING.md | 1 + 2 files changed, 15 insertions(+) create mode 100644 apollo-ios-pagination/.github/workflows/pr-close.yml create mode 100644 apollo-ios-pagination/CONTRIBUTING.md diff --git a/apollo-ios-pagination/.github/workflows/pr-close.yml b/apollo-ios-pagination/.github/workflows/pr-close.yml new file mode 100644 index 000000000..533dba35e --- /dev/null +++ b/apollo-ios-pagination/.github/workflows/pr-close.yml @@ -0,0 +1,14 @@ +name: Close Pull Request + +on: + pull_request_target: + types: [opened] + +jobs: + run: + name: Close and Comment PR + runs-on: ubuntu-latest + steps: + - uses: superbrothers/close-pull-request@v3 + with: + comment: "We do not accept PRs directly to the 'apollo-ios-pagination' repo. All development is done through the 'apollo-ios-dev' repo, please see the CONTRIBUTING guide for more information." \ No newline at end of file diff --git a/apollo-ios-pagination/CONTRIBUTING.md b/apollo-ios-pagination/CONTRIBUTING.md new file mode 100644 index 000000000..5da25b562 --- /dev/null +++ b/apollo-ios-pagination/CONTRIBUTING.md @@ -0,0 +1 @@ +If you would like to contribute to this library, you should make your code modifications and pull requests in the the [apollo-ios-dev](https://github.com/apollographql/apollo-ios-dev) repository. For more information, see the contributor guide in the `apollo-ios-dev` repo [here](https://github.com/apollographql/apollo-ios-dev/tree/main/CONTRIBUTING.md)