mirror of
https://github.com/mustbeperfect/definitive-opensource.git
synced 2026-04-17 21:54:05 +02:00
Refactored source/scripts into core/source
This commit is contained in:
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
@@ -19,7 +19,7 @@ To establish uniformity accross the project, please adhere to these conventions.
|
||||
- Use the project's official name, not the repository name. Repository names often use lowercase and place dashes in place of spaces. Fallback to **Title Casing** if capitalization is not clear.
|
||||
- For projects with multiple repositories (EX: one for IOS, Windows, etc) link the repository with the most stars.
|
||||
- Do not put in a description unless the repo description is inadequate or non-existent, in which case fall back to the organization, their website, or the repo's README. **Do not write your own description, only use text from official sources of the project, and do not modify (EX: shorten) their description.** If you use a custom description make sure to put in the `custom-description` flag so that the stat updator script doesn't overide it.
|
||||
- For tags, do not use the emoji. Go to [tags.json](/source/data/static/tags.json) and find the id for the tag. Our script will generate it's corresponding emoji when it builds the README.
|
||||
- For tags, do not use the emoji. Go to [tags.json](/core/data/static/tags.json) and find the id for the tag. Our script will generate it's corresponding emoji when it builds the README.
|
||||
|
||||
## How To Contribute
|
||||
[How to create a pull request.](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)
|
||||
|
||||
2
.github/workflows/format-maintenance.yml
vendored
2
.github/workflows/format-maintenance.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
run: pip install -r requirements.txt || true
|
||||
|
||||
- name: Run script to check for format errors
|
||||
run: python ./source/scripts/maintenance/json_formatter.py
|
||||
run: python ./core/source/maintenance/json_formatter.py
|
||||
|
||||
- name: Commit and push changes
|
||||
run: |
|
||||
|
||||
4
.github/workflows/generate-readme.yml
vendored
4
.github/workflows/generate-readme.yml
vendored
@@ -4,7 +4,7 @@ name: Generate README
|
||||
on:
|
||||
# push:
|
||||
# paths:
|
||||
# - 'source/data/**'
|
||||
# - 'core/data/**'
|
||||
# - 'source/components/**'
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
run: pip install -r requirements.txt || true
|
||||
|
||||
- name: Run script to generate README
|
||||
run: python ./source/scripts/generation/readme_generator.py
|
||||
run: python ./core/source/generation/readme_generator.py
|
||||
|
||||
- name: Commit and push changes
|
||||
run: |
|
||||
|
||||
2
.github/workflows/status-maintenance.yml
vendored
2
.github/workflows/status-maintenance.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
python source/scripts/maintenance/status_checker.py
|
||||
python core/source/maintenance/status_checker.py
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
|
||||
4
.github/workflows/update-stats.yml
vendored
4
.github/workflows/update-stats.yml
vendored
@@ -34,12 +34,12 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
python source/scripts/maintenance/stats_updator.py
|
||||
python core/source/maintenance/stats_updator.py
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add source/data/dynamic/applications.json
|
||||
git add core/data/dynamic/applications.json
|
||||
git commit -m "Auto-update GitHub metadata" || echo "No changes to commit"
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user