ci-pipeline
SolidPush current branch and return the pipeline tracking URL (GitLab or GitHub Actions)
AI & Automation 4,957 stars
661 forks Updated today CC-BY-SA-4.0
Install
Quality Score: 94/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# /ci:pipeline: Push and trigger pipeline
Pushes the current branch and returns the pipeline tracking link.
## Process
```bash
BRANCH=$(git branch --show-current)
# 1. Safety checks
if echo "$BRANCH" | grep -qE "^(main|master|production)$"; then
echo "❌ Direct push to $BRANCH is not allowed. Create a feature/fix branch."
exit 1
fi
# 2. Check for uncommitted changes
UNCOMMITTED=$(git status --porcelain | wc -l | tr -d ' ')
if [ "$UNCOMMITTED" -gt 0 ]; then
echo "⚠️ $UNCOMMITTED uncommitted file(s):"
git status --short
echo ""
echo "Commit first with /commit or git add + git commit"
exit 0
fi
# 3. Push
echo "Pushing → origin/$BRANCH"
git push origin "$BRANCH" 2>&1
```
## Pipeline URL
### GitLab CI
```bash
REMOTE=$(git remote get-url origin 2>/dev/null || echo "")
WEB_URL=$(echo "$REMOTE" | sed 's/git@gitlab\.com:/https:\/\/gitlab.com\//' | sed 's/\.git$//')
echo ""
echo "✅ Push OK"
echo " Pipeline: $WEB_URL/-/pipelines?ref=$BRANCH"
# Live status via glab (if installed)
if command -v glab &>/dev/null; then
sleep 3
glab ci status --branch "$BRANCH" 2>/dev/null || true
fi
```
### GitHub Actions
```bash
REMOTE=$(git remote get-url origin 2>/dev/null || echo "")
WEB_URL=$(echo "$REMOTE" | sed 's/git@github\.com:/https:\/\/github.com\//' | sed 's/\.git$//')
echo ""
echo "✅ Push OK"
echo " Actions: $WEB_URL/actions?query=branch%3A$BRANCH"
# Live status via gh (if installed)
if command -v gh &>/dev/null; then
sleep 5
gh run list --branch "$BRANCH...
Details
- Author
- FlorianBruniaux
- Repository
- FlorianBruniaux/claude-code-ultimate-guide
- Created
- 5 months ago
- Last Updated
- today
- Language
- Python
- License
- CC-BY-SA-4.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
ci-status
Show current pipeline status for the active branch (GitLab CI or GitHub Actions)
4,957 Updated today
FlorianBruniaux AI & Automation Solid
ci-all
Full CI pipeline: run local tests, type check, push branch, and return the pipeline URL. The only command you need before opening a PR.
4,957 Updated today
FlorianBruniaux DevOps & Infrastructure Listed
cicd-pipeline
Use when setting up GitHub Actions, automated testing, build checks, or deployment workflows. Triggers on "CI/CD", "pipeline", "GitHub Actions", "deploy", "automated testing", "build check".
45 Updated 3 months ago
diegosouzapw