feat: Implement CSAT survey workflow for ADK-Java#1188
Open
Shashank-gtech wants to merge 1 commit intogoogle:mainfrom
Open
feat: Implement CSAT survey workflow for ADK-Java#1188Shashank-gtech wants to merge 1 commit intogoogle:mainfrom
Shashank-gtech wants to merge 1 commit intogoogle:mainfrom
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The repository currently lacks an automated mechanism to collect user feedback (Customer Satisfaction survey) when issues are resolved and closed.
Solution
This PR implements a Customer Satisfaction (CSAT) survey workflow for the ADK Java repository. When an issue is closed, a GitHub Actions workflow is triggered to post a comment with a survey link if the issue has specific relevant labels.
Changes
.github/workflows/csat.yml: Workflow definition file that triggers onissues: closedand runs the script..github/scripts/csat.js: JavaScript script that checks issue labels and posts the CSAT comment with generated links..github/scripts/constant.js: Constants file containing labels, base URL, and message strings for the survey.Labels Checked
The script will post the survey if the closed issue contains any of the following labels:
bugdocumentationgood first issueenhancementquestionjavasampletestingcontribdependenciesduplicategithubneeds updateready to pullTesting Plan
Manual End-to-End (E2E) Tests:
Checklist
Additional context
The survey links to a Google Form with pre-filled parameters for the issue URL and satisfaction level (Yes/No).