Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →CI/CD pipeline patterns for GitHub Actions, PR automation, and deployment workflows. Use when setting up CI, fixing broken pipelines, automating PR checks, or configuring deployment.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -13% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -21% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 1% | 0% |
Patterns for GitHub Actions, PR automation, and deployment workflows.
yamlname: CI on: push: branches: [main, develop] pull_request: branches: [main, develop] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Run tests run: ./gradlew test
yamlname: PR Check on: pull_request jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: ./gradlew ktlintCheck test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: ./gradlew test build: runs-on: ubuntu-latest needs: [lint, test] steps: - uses: actions/checkout@v4 - run: ./gradlew build
Monitor a PR through CI, handle common failures:
gh pr checks <number>gh run rerun <run-id> --failedgh pr merge <number> --auto --squash> See workflows.md for ready-to-use GitHub Actions YAML templates.
Before deploying:
actions/cache or actions/setup-java with cache). A cold Gradle build takes 3-5 minutes, cached takes 30 seconds.needs: creates sequential dependencies. Without it, all jobs run in parallel. Use needs: [lint, test] to make build wait for checks.secrets.DB_PASSWORD and secrets.db_password are different. Match the exact name from Settings > Secrets.actions/checkout@v3 --- use v4. v3 uses Node 16 which is deprecated. v4 uses Node 20.[skip ci]) unless it's docs-onlyOther measured skills in the registry, with their headline benchmark lift.