mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-07-12 18:00:37 +00:00
fix(ci): stage both inventory.yaml and inventory.sql in workflows to prevent unstaged rebase failures
This commit is contained in:
@@ -61,9 +61,9 @@ jobs:
|
||||
run: |
|
||||
git config --global user.name "Nubenetes Bot"
|
||||
git config --global user.email "bot@nubenetes.com"
|
||||
git add data/inventory.yaml
|
||||
git add data/inventory.yaml data/inventory.sql
|
||||
if git diff --staged --quiet; then
|
||||
echo "No changes in inventory.yaml to commit."
|
||||
echo "No changes in inventory to commit."
|
||||
else
|
||||
git commit -m "chore: update inventory stars and licenses [skip ci]"
|
||||
git pull origin develop --rebase
|
||||
|
||||
2
.github/workflows/03.2.agentic_v2_ai.yml
vendored
2
.github/workflows/03.2.agentic_v2_ai.yml
vendored
@@ -75,7 +75,7 @@ jobs:
|
||||
run: |
|
||||
git config --global user.name "Nubenetes Bot"
|
||||
git config --global user.email "bot@nubenetes.com"
|
||||
git add data/inventory.yaml
|
||||
git add data/inventory.yaml data/inventory.sql
|
||||
if git diff --staged --quiet; then
|
||||
echo "No changes in AI analysis to commit."
|
||||
else
|
||||
|
||||
2
.github/workflows/03.3.agentic_v2_videos.yml
vendored
2
.github/workflows/03.3.agentic_v2_videos.yml
vendored
@@ -85,7 +85,7 @@ jobs:
|
||||
run: |
|
||||
git config --global user.name "Nubenetes Bot"
|
||||
git config --global user.email "bot@nubenetes.com"
|
||||
git add data/inventory.yaml v2-docs/videos/
|
||||
git add data/inventory.yaml data/inventory.sql v2-docs/videos/
|
||||
if git diff --staged --quiet; then
|
||||
echo "No automated changes to commit."
|
||||
else
|
||||
|
||||
2
.github/workflows/07.1.pr_guardian.yml
vendored
2
.github/workflows/07.1.pr_guardian.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
||||
run: |
|
||||
git config --global user.name "nubenetes-bot"
|
||||
git config --global user.email "bot@nubenetes.com"
|
||||
git add docs/ v2-docs/ README.md data/inventory.yaml src/memory/
|
||||
git add docs/ v2-docs/ README.md data/inventory.yaml data/inventory.sql src/memory/
|
||||
if ! git diff --cached --quiet; then
|
||||
git commit -m "style(cleaner): auto-correcting formatting & URL normalization"
|
||||
git push origin HEAD:${{ github.event.pull_request.head.ref }} || echo "⚠️ Push failed (likely fork permission limit)."
|
||||
|
||||
Reference in New Issue
Block a user