https://github.com/juninmd/base-actions
https://github.com/juninmd/base-actions
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/juninmd/base-actions
- Owner: juninmd
- Created: 2026-03-16T12:53:03.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-07-11T17:33:00.000Z (17 days ago)
- Last Synced: 2026-07-23T10:18:11.015Z (5 days ago)
- Size: 42 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: security-scan/action.yml
- Agents: AGENTS.md
Awesome Lists containing this project
README
# Base Actions 🚀
Central repository for standardizing GitHub Actions workflows across all **juninmd** projects.
## 📋 Features
- **Validate PR**: Tech-agnostic validation (Node/pnpm/npm, Python/uv/pip). Checks for secrets, builds, lints, and tests.
- **Docker Build & Push**: Standardized build with cache and push to GHCR.
- **ArgoCD Deploy**: Automated sync for ArgoCD applications.
## 🛠 Usage
### 1. PR Validation
Add this to `.github/workflows/validate.yml` in your repository:
```yaml
name: Validate
on: [pull_request]
jobs:
check:
uses: juninmd/base-actions/.github/workflows/reusable-validate.yml@main
with:
node-version: '22' # Optional
```
### 2. Docker Build & Push
Add this to `.github/workflows/build.yml`:
```yaml
name: Build
on:
push:
branches: [main]
jobs:
docker:
uses: juninmd/base-actions/.github/workflows/reusable-docker-build.yml@main
with:
image-name: ${{ github.repository }}
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
### 3. ArgoCD Sync
Add this to `.github/workflows/deploy.yml`:
```yaml
name: Deploy
on:
workflow_run:
workflows: ["Build"]
types: [completed]
jobs:
sync:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: juninmd/base-actions/.github/workflows/reusable-deploy.yml@main
with:
app-name: 'my-app'
secrets:
ARGOCD_AUTH_TOKEN: ${{ secrets.ARGOCD_AUTH_TOKEN }}
```
---
Built with ❤️ by [juninmd](https://github.com/juninmd)