Compare commits

...

5 Commits

Author SHA1 Message Date
Sammy Hori
55940aeb2d Merge pull request #1798 from MunGell/build-workflow-improve
Improve the build workflow
2025-11-12 12:44:44 +00:00
Sammy Hori
a5850be0a0 Replaced old template file with new one in Build workflow
This will cause the Build workflow to be triggered by changes to the new template.
2025-11-12 12:42:41 +00:00
Sammy Hori
ff5c514653 Set the Build workflow to only commit if the README changes
If the README hasn't changed (e.g. a data.json reformat was done), it currently attempts to commit and fails, causing a workflow failure.
2025-11-12 12:40:59 +00:00
Sammy Hori
f72a441566 Merge pull request #1797 from MunGell/format-datajson
Autoreformat the data.json file
2025-11-12 12:21:43 +00:00
Sammy Hori
d65d22f802 Autoreformat the data.json file
Mostly tab -> 4 spaces changes and indentation fixes

Co-author added as they submitted a PR which pointed out the formatting issues.

Co-authored-by: Shikha <117267724+sheechakrawarty@users.noreply.github.com>
2025-11-12 12:20:02 +00:00
2 changed files with 47 additions and 37 deletions

View File

@@ -6,7 +6,7 @@ on:
- main - main
paths: paths:
- 'data.json' - 'data.json'
- '.github/tpl.md' - '.github/README-template.j2'
jobs: jobs:
build: build:
@@ -17,7 +17,12 @@ jobs:
run: sudo pip install jinja2 run: sudo pip install jinja2
- name: Build - name: Build
run: python3 .github/scripts/render-readme.py run: python3 .github/scripts/render-readme.py
- name: Check if file changed
id: changedCheck
continue-on-error: true
run: git diff --exit-code README.md
- name: Commit - name: Commit
if: steps.changedCheck.outcome == 'failure'
run: | run: |
git config --global user.name 'Shmavon Gazanchyan' git config --global user.name 'Shmavon Gazanchyan'
git config --global user.email 'MunGell@users.noreply.github.com' git config --global user.email 'MunGell@users.noreply.github.com'

View File

@@ -2044,7 +2044,8 @@
"link": "https://github.com/activist-org/activist", "link": "https://github.com/activist-org/activist",
"label": "good first issue", "label": "good first issue",
"technologies": [ "technologies": [
"TypeScript", "Python" "TypeScript",
"Python"
], ],
"description": "activist.org is a network for political action that allows people to coordinate and collaborate on the issues that matter most to them." "description": "activist.org is a network for political action that allows people to coordinate and collaborate on the issues that matter most to them."
}, },
@@ -2062,7 +2063,9 @@
"name": "Manifest", "name": "Manifest",
"link": "https://github.com/mnfst/manifest", "link": "https://github.com/mnfst/manifest",
"label": "good first issue", "label": "good first issue",
"technologies": ["TypeScript"], "technologies": [
"TypeScript"
],
"description": "Manifest is an open-source Backend-as-a-Service allowing developers to create a backend easily and quickly." "description": "Manifest is an open-source Backend-as-a-Service allowing developers to create a backend easily and quickly."
}, },
{ {
@@ -2126,7 +2129,9 @@
"name": "supabase", "name": "supabase",
"link": "https://github.com/supabase/supabase", "link": "https://github.com/supabase/supabase",
"label": "good first issue", "label": "good first issue",
"technologies": ["TypeScript"], "technologies": [
"TypeScript"
],
"description": "The open source Firebase alternative. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications." "description": "The open source Firebase alternative. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications."
} }
] ]