Dev (#218)
* Improve senior-fullstack skill description and workflow validation - Expand frontmatter description with concrete actions and trigger clauses - Add validation steps to scaffolding workflow (verify scaffold succeeded) - Add re-run verification step to audit workflow (confirm P0 fixes) * chore: sync codex skills symlinks [automated] * fix(skill): normalize senior-fullstack frontmatter to inline format Normalize YAML description from block scalar (>) to inline single-line format matching all other 50+ skills. Align frontmatter trigger phrases with the body's Trigger Phrases section to eliminate duplication. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(ci): add GITHUB_TOKEN to checkout + restore corrupted skill descriptions - Add token: ${{ secrets.GITHUB_TOKEN }} to actions/checkout@v4 in sync-codex-skills.yml so git-auto-commit-action can push back to branch (fixes: fatal: could not read Username, exit 128) - Restore correct description for incident-commander (was: 'Skill from engineering-team') - Restore correct description for senior-fullstack (was: '>') * fix(ci): pass PROJECTS_TOKEN to fix automated commits + remove duplicate checkout Fixes PROJECTS_TOKEN passthrough for git-auto-commit-action and removes duplicate checkout step in pr-issue-auto-close workflow. * fix(ci): remove stray merge conflict marker in sync-codex-skills.yml (#221) Co-authored-by: Leo <leo@leo-agent-server> * fix(ci): fix workflow errors + add OpenClaw support (#222) --------- Co-authored-by: Baptiste Fernandez <fernandez.baptiste1@gmail.com> Co-authored-by: alirezarezvani <5697919+alirezarezvani@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Leo <leo@leo-agent-server>
This commit is contained in:
12
.github/workflows/pr-issue-auto-close.yml
vendored
12
.github/workflows/pr-issue-auto-close.yml
vendored
@@ -29,8 +29,6 @@ jobs:
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Extract linked issues from PR body
|
||||
id: extract_issues
|
||||
@@ -123,15 +121,7 @@ jobs:
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
issue_number: parseInt(issueNumber),
|
||||
body: `Completed via PR #${prNumber}
|
||||
|
||||
PR: ${prTitle}
|
||||
URL: ${prUrl}
|
||||
Merged by: ${merger}
|
||||
|
||||
This issue has been resolved and the changes have been merged into main.
|
||||
|
||||
Automatically closed via PR merge automation`
|
||||
body: `Completed via PR #${prNumber}\n\nPR: ${prTitle}\nURL: ${prUrl}\nMerged by: ${merger}\n\nThis issue has been resolved and the changes have been merged into main.\n\nAutomatically closed via PR merge automation`
|
||||
});
|
||||
|
||||
// Close the issue
|
||||
|
||||
14
.github/workflows/smart-sync.yml
vendored
14
.github/workflows/smart-sync.yml
vendored
@@ -4,12 +4,10 @@ name: Smart Bidirectional Sync
|
||||
'on':
|
||||
issues:
|
||||
types: [labeled, closed, reopened]
|
||||
projects_v2_item:
|
||||
types: [edited]
|
||||
|
||||
# Prevent sync loops with debouncing
|
||||
concurrency:
|
||||
group: smart-sync-${{ github.event.issue.number || github.event.projects_v2_item.node_id }}
|
||||
group: smart-sync-${{ github.event.issue.number }}
|
||||
cancel-in-progress: true # Cancel pending runs (debouncing effect)
|
||||
|
||||
jobs:
|
||||
@@ -59,12 +57,6 @@ jobs:
|
||||
echo "⏭️ Skipping: Not a status change or state change"
|
||||
fi
|
||||
|
||||
elif [ "${{ github.event_name }}" = "projects_v2_item" ]; then
|
||||
# Project event → sync to issue
|
||||
echo "direction=project-to-issue" >> $GITHUB_OUTPUT
|
||||
echo "should_sync=true" >> $GITHUB_OUTPUT
|
||||
echo "✅ Will sync: Project Board → Issue"
|
||||
|
||||
else
|
||||
echo "should_sync=false" >> $GITHUB_OUTPUT
|
||||
echo "⚠️ Unknown event type"
|
||||
@@ -147,9 +139,10 @@ jobs:
|
||||
- name: Sync Issue to Project Board
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.PROJECTS_TOKEN }}
|
||||
ISSUE_TITLE: ${{ github.event.issue.title }}
|
||||
run: |
|
||||
echo "# Issue → Project Board Sync"
|
||||
echo "**Issue**: #${{ github.event.issue.number }} \"${{ github.event.issue.title }}\""
|
||||
echo "**Issue**: #${{ github.event.issue.number }} \"$ISSUE_TITLE\""
|
||||
echo "**State**: ${{ github.event.issue.state }}"
|
||||
echo "**Action**: ${{ github.event.action }}"
|
||||
|
||||
@@ -288,6 +281,7 @@ jobs:
|
||||
- name: Sync Project Board to Issue
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.PROJECTS_TOKEN }}
|
||||
ISSUE_TITLE: ${{ github.event.issue.title }}
|
||||
run: |
|
||||
echo "# Project Board → Issue Sync"
|
||||
echo "**Project Item**: ${{ github.event.projects_v2_item.node_id }}"
|
||||
|
||||
2
.github/workflows/sync-codex-skills.yml
vendored
2
.github/workflows/sync-codex-skills.yml
vendored
@@ -28,6 +28,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.PROJECTS_TOKEN }}
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
@@ -61,6 +62,7 @@ jobs:
|
||||
file_pattern: ".codex/*"
|
||||
commit_user_name: "github-actions[bot]"
|
||||
commit_user_email: "github-actions[bot]@users.noreply.github.com"
|
||||
token: ${{ secrets.PROJECTS_TOKEN }}
|
||||
|
||||
- name: Warn if main has drift
|
||||
if: steps.check_changes.outputs.has_changes == 'true' && github.ref == 'refs/heads/main'
|
||||
|
||||
Reference in New Issue
Block a user