Skip to content

feat(workflow): add pr validation#18

Merged
k5sha merged 1 commit into
masterfrom
feat-add-pr-validation
Jul 4, 2026
Merged

feat(workflow): add pr validation#18
k5sha merged 1 commit into
masterfrom
feat-add-pr-validation

Conversation

@k5sha

@k5sha k5sha commented Jul 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

@k5sha k5sha merged commit d64d470 into master Jul 4, 2026
4 checks passed
Comment thread .github/workflows/pr.yaml
Comment on lines +13 to +48
name: 🔍 Pre-Build Security & Quality
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4

- name: 🐳 Lint Dockerfile
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
failure-threshold: error

- name: 🛡️ Scan FS for Secrets and Configs
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
scanners: 'vuln,secret,config'
hide-progress: true
format: 'table'
exit-code: '1'
severity: 'CRITICAL,HIGH'

- name: 🏗️ Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24
cache: 'npm'

- name: 📦 Install dependencies
run: npm ci --legacy-peer-deps

- name: 🧹 Lint Check
run: npm run lint

build-test:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants