-
Notifications
You must be signed in to change notification settings - Fork 1
refine workflow #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
refine workflow #34
Changes from 19 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
3236ff0
refine workflow
Tearran e4672d8
workflow test
Tearran 6f5d1ca
modified: .github/workflows/05_github_tests-validate.yml
Tearran 5f15d51
fix missing key
Tearran a05fdb1
ix style
Tearran d81ff38
renamed for ci
Tearran af150fb
workdflow
Tearran 017dc8f
modified: .github/workflows/00_github_staging-validate.yml
Tearran 41c7412
test for error true
Tearran 789b416
modified: tools/02_validate_module.sh
Tearran 15ba739
new file: src/core/interface/submenu.conf
Tearran bf93897
deleted: docs/submenu.md
Tearran 8eaed55
flow
Tearran 1e910b7
fail over warn for CI
Tearran 60ed006
fix missing fail
Tearran a52654c
fix flow check
Tearran da517c6
modified: tools/02_validate_module.sh
Tearran 73057ef
modified: tools/02_validate_module.sh
Tearran 5f09e9d
modified: tools/02_validate_module.sh
Tearran 090adca
modified: tools/02_validate_module.sh
Tearran 0c0e547
promote
Tearran 0ba617e
modified: tools/02_validate_module.sh
Tearran 9e7f6ca
modified: tools/02_validate_module.sh
Tearran d0f031b
modified: tools/02_validate_module.sh
Tearran 19d95d3
removed old function
Tearran File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| name: 03 Staging Gate | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| - 'staging/**' | ||
| - 'tools/**' | ||
|
|
||
| jobs: | ||
| gate: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Fail if staging folder is missing or empty | ||
| run: | | ||
| if [ ! -d staging ] || [ -z "$(ls -A staging)" ]; then | ||
| echo "::error ::staging folder is missing or empty. Please add or update at least one module." | ||
| exit 1 | ||
| fi | ||
| - name: Staging compatibility check | ||
| run: bash tools/02_validate_module.sh | ||
|
|
||
| - name: Run all tools and report pass/fail | ||
| run: | | ||
| status=0 | ||
| for tool in tools/[0-9][0-9]_*.sh; do | ||
| # Skip 02_validate_module.sh (already run) | ||
| if [[ "$(basename "$tool")" == "02_validate_module.sh" ]]; then | ||
| continue | ||
| fi | ||
| echo "=== Running: $tool ===" | ||
| bash "$tool" | ||
| result=$? | ||
| if [[ $result -eq 0 ]]; then | ||
| echo "::notice ::PASS: $tool" | ||
| else | ||
| echo "::error ::FAIL: $tool (exit code $result)" | ||
| status=1 | ||
| fi | ||
| echo | ||
| done | ||
| exit $status |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.