feat: Set up GoodAction Hub standalone data repository#2
Merged
Conversation
…, and data structure Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update issue templates and move data structure description
Set up GoodAction Hub standalone data repository
Mar 9, 2026
TechQuery
requested changes
Mar 9, 2026
Member
TechQuery
left a comment
There was a problem hiding this comment.
给 activity 表单增加一项“类型”下拉框,选项分别为 meetup、 conference、competition,这样就可以把三个表单合为一个,因为其它项都是一样的。
…mplify form fields Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
Contributor
Author
已在 2fedd18 中实现:删除了单独的 |
TechQuery
requested changes
Mar 9, 2026
…inner hint first, inspiration section Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
…ser, update workflow Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
TechQuery
requested changes
Mar 9, 2026
…o default value Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
Contributor
Author
已在 4a61892 中实现:
|
TechQuery
requested changes
Mar 9, 2026
…les, restructure README Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
TechQuery
requested changes
Mar 9, 2026
…ve scripts Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
TechQuery
requested changes
Mar 9, 2026
…a migration Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
TechQuery
approved these changes
Mar 9, 2026
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.
Repurposes this repo from "Fake Open Source wiki" into the GoodAction Hub independent data repository, migrating the data structure documentation from
GoodAction-Hub.github.ioand establishing an Issue-based data submission workflow.Issue Templates
Fake-Open-Source-event.yml→activity.yml: rebuilt as a unified public welfare activity submission form covering meetups, conferences, and competitionsmeetup/conference/competition) to replace the need for three separate templatesYYYY-MM-DD HH:mm:ss) for overall activity duration; timeline textarea (Markdown table format, pre-filled as default value) retained for per-session key milestonesconference.ymlandcompetition.yml(merged intoactivity.yml)restaurant.yml: new submission form for accessibility-friendly restaurants, with fields for unique ID, description, accessibility features, specialty food (Markdown table of dish name + price), average spend, social values (checkboxes), address, and GPS coordinatesREADME
BiYuanShe/Fake-Open-Source-wiki(the template repository)start_time/end_timeandtimelinewithdeadline/commententries; restaurant YAML schema includesfood[].name/price,avg_spend, andsocial_valuesarrayGitHub Actions
submit-event.yml: Renamed to "Activity submission"; updated label trigger (event→activity), template path (activity.yml), and all environment variable names to match new form fieldssave-event.sh: Fully rewritten to append structured entries todata/activities.yml; uses sharedappend_yaml_tablefromyaml_utils.shto parse thetimelineMarkdown table into YAMLdeadline/commententriessubmit-restaurant.yml: New workflow triggered byrestaurantlabel; parses restaurant form fields and appends entries todata/restaurants.ymlsave-restaurant.sh: New script that uses sharedappend_yaml_tablefromyaml_utils.shto parse the food Markdown table intofood[].name/priceentries, plusappend_yaml_split_arrayfor comma-separated features and checkboxesyaml_utils.sh: New shared utility module containingyaml_escape,append_yaml_split_array, and the genericappend_yaml_tablefunction (parses any 2-column Markdown table into a YAML list with configurable key names, indentation, and header-row detection); sourced by both save scriptsdeploy-data.yml: Fixed stalebiyuanshe.github.io/Fake-Open-Source-wikiURL →goodaction-hub.github.io/GoodAction-dataData Directory
data/events.yml→data/activities.yml(empty, to be populated during future data migration)data/competitions.ymlanddata/conferences.ymldeleted (all activities consolidated intoactivities.yml)data/restaurants.ymlRepository Labels (
settings.yml)Replaced
eventlabel withactivity,conference,competition; addedrestaurantlabel.Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.