Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Add PR gate workflows
Reginald Bondoc27353848c1cb
diff --git a/.github/workflows/check-be-pull-request.yml b/.github/workflows/check-be-pull-request.ymlnew file mode 100644index 0000000000..f17d8c5c8f--- /dev/null+++ b/.github/workflows/check-be-pull-request.yml@@ -0,0 +1,41 @@+name: Check Backend Pull Request++on:+ pull_request:+ types: [ opened, synchronize ]+ paths:+ - 'backend/**'+ - '!backend/README.md'+ - '!backend/.*'+ - 'backend/.eslintrc.js'+++jobs:++ check-be-pr:+ name: Check+ runs-on: ubuntu-latest++ steps:+ -+ name: ☁️ Checkout source+ uses: actions/checkout@v3+ -+ name: 🔧 Setup Node 16+ uses: actions/setup-node@v3+ with:+ node-version: '16'+ cache: 'npm'+ cache-dependency-path: backend/package-lock.json+ -+ name: 📦 Install dependencies+ run: npm ci --only-production --ignore-scripts+ working-directory: backend+ # -+ # name: 🧪 Run tests+ # run: npm run test:ci+ # working-directory: backend+ -+ name: 🏗️ Run build+ run: npm run build+ working-directory: backenddiff --git a/.github/workflows/check-fe-pull-request.yml b/.github/workflows/check-fe-pull-request.ymlnew file mode 100644index 0000000000..b91e6f0603--- /dev/null+++ b/.github/workflows/check-fe-pull-request.yml@@ -0,0 +1,41 @@+name: Check Frontend Pull Request++on:+ pull_request:+ types: [ opened, synchronize ]+ paths:+ - 'frontend/**'+ - '!frontend/README.md'+ - '!frontend/.*'+ - 'frontend/.eslintrc.js'+++jobs:++ check-fe-pr:+ name: Check+ runs-on: ubuntu-latest++ steps:+ -+ name: ☁️ Checkout source+ uses: actions/checkout@v3+ -+ name: 🔧 Setup Node 16+ uses: actions/setup-node@v3+ with:+ node-version: '16'+ cache: 'npm'+ cache-dependency-path: frontend/package-lock.json+ -+ name: 📦 Install dependencies+ run: npm ci --only-production --ignore-scripts+ working-directory: frontend+ # -+ # name: 🧪 Run tests+ # run: npm run test:ci+ # working-directory: frontend+ -+ name: 🏗️ Run build+ run: npm run build+ working-directory: frontenddiff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.ymlindex 769a5f7a3d..3856122f1c 100644--- a/.github/workflows/docker-image.yml+++ b/.github/workflows/docker-image.yml@@ -11,7 +11,7 @@ jobs:steps:-name: ☁️ Checkout source- uses: actions/checkout@v2+ uses: actions/checkout@v3-name: 🔧 Set up QEMUuses: docker/setup-qemu-action@v2@@ -36,7 +36,7 @@ jobs:# run: |# docker run --rm infisical/backend:test-- name: 📦 Build backend and push+ name: 🏗️ Build backend and pushuses: docker/build-push-action@v3with:push: true@@ -52,7 +52,7 @@ jobs:steps:-name: ☁️ Checkout source- uses: actions/checkout@v2+ uses: actions/checkout@v3-name: 🔧 Set up QEMUuses: docker/setup-qemu-action@v2@@ -79,7 +79,7 @@ jobs:# run: |# docker run --rm infisical/frontend:test-- name: 📦 Build frontend and push+ name: 🏗️ Build frontend and pushuses: docker/build-push-action@v3with:push: true