Skip to content

Commit 5ac2c47

Browse files
Merge pull request #314 from apollographql/main
Create a new pull request by comparing changes across two branches
2 parents 0d5f5ab + d5f54c8 commit 5ac2c47

5 files changed

Lines changed: 203 additions & 38 deletions

File tree

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Bug
2+
description: File a bug report
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: "Hello from the Apollo Client team! Hopefully we can help resolve your issue. To increase the chances of us being able to help, please take the time to fill out the form as completely as possible. A minimal, runnable reproduction is the best way to get us to help you quickly and in many cases we simply cannot help without one."
7+
- type: textarea
8+
attributes:
9+
label: Issue Description
10+
description: Describe the issue you are experiencing.
11+
validations:
12+
required: false
13+
- type: input
14+
attributes:
15+
label: Link to Reproduction
16+
description: A link with runnable reproduction. You can fork our `react-apollo-error-template` to create one via [GitHub repository](https://github.com/apollographql/react-apollo-error-template) or [CodeSandbox](https://codesandbox.io/s/github/apollographql/react-apollo-error-template). Make sure this includes everything necessary (`package.json`, `tsconfig.json`, etc.) so we don't have to guess anything!
17+
validations:
18+
required: true
19+
- type: textarea
20+
attributes:
21+
label: Reproduction Steps
22+
description: Please provide any additional non-trivial steps required to reproduce the issue.
23+
validations:
24+
required: false

.github/ISSUE_TEMPLATE/question-discussion.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ about: Questions / discussions are best posted in our community forums or StackO
55

66
Need help or want to talk all things Apollo Client? Issues here are reserved for bugs, but one of the following resources should help:
77

8+
* Apollo Discord server: https://discord.gg/graphos
89
* Apollo GraphQL community forums: https://community.apollographql.com
910
* StackOverflow (`apollo-client` tag): https://stackoverflow.com/questions/tagged/apollo-client
1011
* Apollo Feature Request repo: https://github.com/apollographql/apollo-feature-requests
Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+
#
3+
# You can adjust the behavior by modifying this file.
4+
# For more information, see:
5+
# https://github.com/actions/stale
6+
name: Mark stale issues and pull requests
7+
8+
on:
9+
schedule:
10+
- cron: '15 5 * * *'
11+
12+
jobs:
13+
stale:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
issues: write
17+
pull-requests: write
18+
19+
steps:
20+
- name: Close Stale Issues
21+
uses: actions/stale@v7.0.0
22+
with:
23+
# # Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.
24+
# repo-token: # optional, default is ${{ github.token }}
25+
26+
# # The message to post on the issue when tagging it. If none provided, will not mark issues stale.
27+
#. stale-issue-message: # optional
28+
29+
# # The message to post on the pull request when tagging it. If none provided, will not mark pull requests stale.
30+
# stale-pr-message: # optional
31+
32+
# The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
33+
close-issue-message: "We're closing this issue now but feel free to ping the maintainers or open a new issue if you still need support. Thank you!"
34+
35+
# # The message to post on the pull request when closing it. If none provided, will not comment when closing a pull requests.
36+
# close-pr-message: # optional
37+
38+
# The number of days old an issue or a pull request can be before marking it stale. Set to -1 to never mark issues or pull requests as stale automatically.
39+
days-before-stale: -1
40+
41+
# The number of days old an issue can be before marking it stale. Set to -1 to never mark issues as stale automatically. Override "days-before-stale" option regarding only the issues.
42+
days-before-issue-stale: -1
43+
44+
# The number of days old a pull request can be before marking it stale. Set to -1 to never mark pull requests as stale automatically. Override "days-before-stale" option regarding only the pull requests.
45+
days-before-pr-stale: -1
46+
47+
# The number of days to wait to close an issue or a pull request after it being marked stale. Set to -1 to never close stale issues or pull requests.
48+
days-before-close: -1
49+
50+
# The number of days to wait to close an issue after it being marked stale. Set to -1 to never close stale issues. Override "days-before-close" option regarding only the issues.
51+
days-before-issue-close: 30
52+
53+
# The number of days to wait to close a pull request after it being marked stale. Set to -1 to never close stale pull requests. Override "days-before-close" option regarding only the pull requests.
54+
days-before-pr-close: -1
55+
56+
# The label to apply when an issue is stale.
57+
stale-issue-label: "🏓 awaiting-contributor-response"
58+
59+
# # The label to apply when an issue is closed.
60+
# close-issue-label: # optional
61+
62+
# # The labels that mean an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2").
63+
# exempt-issue-labels: # optional, default is
64+
65+
# The reason to use when closing an issue.
66+
close-issue-reason: not_planned
67+
68+
# # The label to apply when a pull request is stale.
69+
# stale-pr-label: # optional, default is Stale
70+
71+
# # The label to apply when a pull request is closed.
72+
# close-pr-label: # optional
73+
74+
# # The labels that mean a pull request is exempt from being marked as stale. Separate multiple labels with commas (eg. "label1,label2").
75+
# exempt-pr-labels: # optional, default is
76+
77+
# # The milestones that mean an issue or a pull request is exempt from being marked as stale. Separate multiple milestones with commas (eg. "milestone1,milestone2").
78+
# exempt-milestones: # optional, default is
79+
80+
# # The milestones that mean an issue is exempt from being marked as stale. Separate multiple milestones with commas (eg. "milestone1,milestone2"). Override "exempt-milestones" option regarding only the issues.
81+
# exempt-issue-milestones: # optional, default is
82+
83+
# # The milestones that mean a pull request is exempt from being marked as stale. Separate multiple milestones with commas (eg. "milestone1,milestone2"). Override "exempt-milestones" option regarding only the pull requests.
84+
# exempt-pr-milestones: # optional, default is
85+
86+
# # Exempt all issues and pull requests with milestones from being marked as stale. Default to false.
87+
# exempt-all-milestones: # optional, default is false
88+
89+
# # Exempt all issues with milestones from being marked as stale. Override "exempt-all-milestones" option regarding only the issues.
90+
# exempt-all-issue-milestones: # optional, default is
91+
92+
# # Exempt all pull requests with milestones from being marked as stale. Override "exempt-all-milestones" option regarding only the pull requests.
93+
# exempt-all-pr-milestones: # optional, default is
94+
95+
# # Only issues or pull requests with all of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels.
96+
# only-labels: # optional, default is
97+
98+
# # Only issues or pull requests with at least one of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels.
99+
# any-of-labels: # optional, default is
100+
101+
# # Only issues with at least one of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels. Override "any-of-labels" option regarding only the issues.
102+
# any-of-issue-labels: # optional, default is
103+
104+
# # Only pull requests with at least one of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels. Override "any-of-labels" option regarding only the pull requests.
105+
# any-of-pr-labels: # optional, default is
106+
107+
# # Only issues with all of these labels are checked if stale. Defaults to `[]` (disabled) and can be a comma-separated list of labels. Override "only-labels" option regarding only the issues.
108+
# only-issue-labels: # optional, default is
109+
110+
# # Only pull requests with all of these labels are checked if stale. Defaults to `[]` (disabled) and can be a comma-separated list of labels. Override "only-labels" option regarding only the pull requests.
111+
# only-pr-labels: # optional, default is
112+
113+
# # The maximum number of operations per run, used to control rate limiting (GitHub API CRUD related).
114+
# operations-per-run: # optional, default is 30
115+
116+
# Remove stale labels from issues and pull requests when they are updated or commented on.
117+
remove-stale-when-updated: false
118+
119+
# Remove stale labels from issues when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the issues.
120+
remove-issue-stale-when-updated: true
121+
122+
# Remove stale labels from pull requests when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the pull requests.
123+
remove-pr-stale-when-updated: false
124+
125+
# Run the processor in debug mode without actually performing any operations on live issues.
126+
debug-only: true
127+
128+
# # The order to get issues or pull requests. Defaults to false, which is descending.
129+
# ascending: # optional, default is false
130+
131+
# Delete the git branch after closing a stale pull request.
132+
delete-branch: false
133+
134+
# # The date used to skip the stale action on issue/pull request created before it (ISO 8601 or RFC 2822).
135+
# start-date: # optional, default is
136+
137+
# # The assignees which exempt an issue or a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2").
138+
# exempt-assignees: # optional, default is
139+
140+
# # The assignees which exempt an issue from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2"). Override "exempt-assignees" option regarding only the issues.
141+
# exempt-issue-assignees: # optional, default is
142+
143+
# # The assignees which exempt a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2"). Override "exempt-assignees" option regarding only the pull requests.
144+
# exempt-pr-assignees: # optional, default is
145+
146+
# # Exempt all issues and pull requests with assignees from being marked as stale. Default to false.
147+
# exempt-all-assignees: # optional, default is false
148+
149+
# Exempt all issues with assignees from being marked as stale. Override "exempt-all-assignees" option regarding only the issues.
150+
exempt-all-issue-assignees: true
151+
152+
# # Exempt all pull requests with assignees from being marked as stale. Override "exempt-all-assignees" option regarding only the pull requests.
153+
# exempt-all-pr-assignees: # optional, default is
154+
155+
# # Exempt draft pull requests from being marked as stale. Default to false.
156+
# exempt-draft-pr: # optional, default is false
157+
158+
# # Display some statistics at the end regarding the stale workflow (only when the logs are enabled).
159+
enable-statistics: true
160+
161+
# # A comma delimited list of labels to add when a stale issue or pull request receives activity and has the stale-issue-label or stale-pr-label removed from it.
162+
# labels-to-add-when-unstale: # optional, default is
163+
164+
# A comma delimited list of labels to remove when a stale issue or pull request receives activity and has the stale-issue-label or stale-pr-label removed from it.
165+
labels-to-remove-when-unstale: "🏓 awaiting-contributor-response"
166+
167+
# Any update (update/comment) can reset the stale idle time on the issues and pull requests.
168+
ignore-updates: false
169+
170+
# Any update (update/comment) can reset the stale idle time on the issues. Override "ignore-updates" option regarding only the issues.
171+
ignore-issue-updates: false
172+
173+
# Any update (update/comment) can reset the stale idle time on the pull requests. Override "ignore-updates" option regarding only the pull requests.
174+
ignore-pr-updates: false
175+
176+
# # Only the issues or the pull requests with an assignee will be marked as stale automatically.
177+
# include-only-assigned: # optional, default is false

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![npm version](https://badge.fury.io/js/%40apollo%2Fclient.svg)](https://badge.fury.io/js/%40apollo%2Fclient)
66
[![Build Status](https://circleci.com/gh/apollographql/apollo-client.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-client)
77
[![Join the community](https://img.shields.io/discourse/status?label=Join%20the%20community&server=https%3A%2F%2Fcommunity.apollographql.com)](https://community.apollographql.com)
8+
[![Join our Discord server](https://img.shields.io/discord/1022972389463687228.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/graphos)
89

910
Apollo Client is a fully-featured caching GraphQL client with integrations for React, Angular, and more. It allows you to easily build UI components that fetch data via GraphQL.
1011

0 commit comments

Comments
 (0)