Maybe: Relax 'label' requirement for deferred named fragments #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Close User Survey | |
on: | |
issues: | |
types: [closed] | |
jobs: | |
user-survey-comment: | |
permissions: | |
issues: write | |
runs-on: ubuntu-latest | |
if: github.repository == 'apollographql/apollo-ios' | |
steps: | |
- run: | | |
if [ "$AUTHOR" == "MEMBER" ] && (( $COMMENTS == 0 )); then | |
echo "Issue opened by member with no comments, skipping user survey." | |
else | |
gh issue comment "$NUMBER" --body "$BODY" | |
fi | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_REPO: ${{ github.repository }} | |
NUMBER: ${{ github.event.issue.number }} | |
COMMENTS: ${{ github.event.issue.comments }} | |
AUTHOR: ${{ github.event.issue.author_association }} | |
BODY: > | |
Do you have any feedback for the maintainers? Please tell us by taking a [one-minute survey](https://docs.google.com/forms/d/e/1FAIpQLSczNDXfJne3ZUOXjk9Ursm9JYvhTh1_nFTDfdq3XBAFWCzplQ/viewform?usp=pp_url&entry.1170701325=Apollo+iOS&entry.204965213=GitHub+Issue). Your responses will help us understand Apollo iOS usage and allow us to serve you better. |