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
chore: harden github workflows
Daniel0ed33c1b96a7
diff --git a/.github/workflows/be-test-report.yml b/.github/workflows/be-test-report.ymldeleted file mode 100644index f2c951f575..0000000000--- a/.github/workflows/be-test-report.yml+++ /dev/null@@ -1,41 +0,0 @@-name: "Backend Test Report"--on:- workflow_run:- workflows: ["Check Backend Pull Request"]- types:- - completed--jobs:- be-report:- name: Backend test report- runs-on: ubuntu-latest-- steps:- - uses: actions/checkout@v2- - name: π Download test results- id: download-artifact- uses: dawidd6/action-download-artifact@v6- with:- name: be-test-results- path: backend- workflow: check-be-pull-request.yml- workflow_conclusion: success- - name: π Publish test results- uses: dorny/test-reporter@v1- with:- name: Test Results- path: reports/jest-*.xml- reporter: jest-junit- working-directory: backend- - name: π Publish coverage- uses: ArtiomTr/jest-coverage-report-action@v2- id: coverage- with:- output: comment, report-markdown- coverage-file: coverage/report.json- github-token: ${{ secrets.GITHUB_TOKEN }}- working-directory: backend- - uses: marocchino/sticky-pull-request-comment@v2- with:- message: ${{ steps.coverage.outputs.report }}diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.ymldeleted file mode 100644index f7074f15be..0000000000--- a/.github/workflows/build-binaries.yml+++ /dev/null@@ -1,189 +0,0 @@-name: Build Binaries and Deploy--on:- workflow_dispatch:- inputs:- version:- description: "Version number"- required: true- type: string-defaults:- run:- working-directory: ./backend--jobs:- build-and-deploy:- strategy:- matrix:- arch: [x64, arm64]- os: [linux, win]- include:- - os: linux- target: node22-linux- - os: win- target: node22-win- runs-on: ${{ (matrix.arch == 'arm64' && matrix.os == 'linux') && 'ubuntu24-arm64' || 'ubuntu-latest' }}-- steps:- - name: Checkout code- uses: actions/checkout@v3-- - name: Set up Node.js- uses: actions/setup-node@v3- with:- node-version: 22-- - name: Install pkg- run: npm install -g @yao-pkg/pkg-- - name: Install dependencies (backend)- run: npm install-- - name: Install dependencies (frontend)- run: npm install --prefix ../frontend-- - name: Prerequisites for pkg- run: npm run binary:build-- - name: Package into node binary- run: |- if [ "${{ matrix.os }}" != "linux" ]; then- pkg --no-bytecode --public-packages "*" --public --compress GZip --target ${{ matrix.target }}-${{ matrix.arch }} --output ./binary/infisical-core-${{ matrix.os }}-${{ matrix.arch }} .- else- pkg --no-bytecode --public-packages "*" --public --compress GZip --target ${{ matrix.target }}-${{ matrix.arch }} --output ./binary/infisical-core .- fi-- # Set up .deb package structure (Debian/Ubuntu only)- - name: Set up .deb package structure- if: matrix.os == 'linux'- run: |- mkdir -p infisical-core/DEBIAN- mkdir -p infisical-core/usr/local/bin- cp ./binary/infisical-core infisical-core/usr/local/bin/- chmod +x infisical-core/usr/local/bin/infisical-core-- - name: Create control file- if: matrix.os == 'linux'- run: |- cat <<EOF > infisical-core/DEBIAN/control- Package: infisical-core- Version: ${{ github.event.inputs.version }}- Section: base- Priority: optional- Architecture: ${{ matrix.arch == 'x64' && 'amd64' || matrix.arch }}- Maintainer: Infisical <[email protected]>- Description: Infisical Core standalone executable (app.infisical.com)- EOF-- # Build .deb file (Debian/Ubunutu only)- - name: Build .deb package- if: matrix.os == 'linux'- run: |- dpkg-deb --build infisical-core- mv infisical-core.deb ./binary/infisical-core-${{matrix.arch}}.deb-- ### RPM-- # Set up .rpm package structure- - name: Set up .rpm package structure- if: matrix.os == 'linux'- run: |- mkdir -p infisical-core-rpm/usr/local/bin- cp ./binary/infisical-core infisical-core-rpm/usr/local/bin/- chmod +x infisical-core-rpm/usr/local/bin/infisical-core-- # Install RPM build tools- - name: Install RPM build tools- if: matrix.os == 'linux'- run: sudo apt-get update && sudo apt-get install -y rpm-- # Create .spec file for RPM- - name: Create .spec file for RPM- if: matrix.os == 'linux'- run: |- cat <<EOF > infisical-core.spec-- %global _enable_debug_package 0- %global debug_package %{nil}- %global __os_install_post /usr/lib/rpm/brp-compress %{nil}-- Name: infisical-core- Version: ${{ github.event.inputs.version }}- Release: 1%{?dist}- Summary: Infisical Core standalone executable- License: Proprietary- URL: https://app.infisical.com-- %description- Infisical Core standalone executable (app.infisical.com)-- %install- mkdir -p %{buildroot}/usr/local/bin- cp %{_sourcedir}/infisical-core %{buildroot}/usr/local/bin/-- %files- /usr/local/bin/infisical-core-- %pre-- %post-- %preun-- %postun- EOF-- # Build .rpm file- - name: Build .rpm package- if: matrix.os == 'linux'- run: |- # Create necessary directories- mkdir -p rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}-- # Copy the binary directly to SOURCES- cp ./binary/infisical-core rpmbuild/SOURCES/-- # Run rpmbuild with verbose output- rpmbuild -vv -bb \- --define "_topdir $(pwd)/rpmbuild" \- --define "_sourcedir $(pwd)/rpmbuild/SOURCES" \- --define "_rpmdir $(pwd)/rpmbuild/RPMS" \- --target ${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }} \- infisical-core.spec-- # Try to find the RPM file- find rpmbuild -name "*.rpm"-- # Move the RPM file if found- if [ -n "$(find rpmbuild -name '*.rpm')" ]; then- mv $(find rpmbuild -name '*.rpm') ./binary/infisical-core-${{matrix.arch}}.rpm- else- echo "RPM file not found!"- exit 1- fi-- - uses: actions/setup-python@v4- with:- python-version: "3.x" # Specify the Python version you need- - name: Install Python dependencies- run: |- python -m pip install --upgrade pip- pip install --upgrade cloudsmith-cli-- # Publish .deb file to Cloudsmith (Debian/Ubuntu only)- - name: Publish to Cloudsmith (Debian/Ubuntu)- if: matrix.os == 'linux'- working-directory: ./backend- run: cloudsmith push deb --republish --no-wait-for-sync --api-key=${{ secrets.CLOUDSMITH_API_KEY }} infisical/infisical-core/any-distro/any-version ./binary/infisical-core-${{ matrix.arch }}.deb-- # Publish .rpm file to Cloudsmith (Red Hat-based systems only)- - name: Publish .rpm to Cloudsmith- if: matrix.os == 'linux'- working-directory: ./backend- run: cloudsmith push rpm --republish --no-wait-for-sync --api-key=${{ secrets.CLOUDSMITH_API_KEY }} infisical/infisical-core/any-distro/any-version ./binary/infisical-core-${{ matrix.arch }}.rpm-- # Publish .exe file to Cloudsmith (Windows only)- - name: Publish to Cloudsmith (Windows)- if: matrix.os == 'win'- working-directory: ./backend- run: cloudsmith push raw infisical/infisical-core ./binary/infisical-core-${{ matrix.os }}-${{ matrix.arch }}.exe --republish --no-wait-for-sync --version ${{ github.event.inputs.version }} --api-key ${{ secrets.CLOUDSMITH_API_KEY }}diff --git a/.github/workflows/build-patroni-docker-img.yml b/.github/workflows/build-patroni-docker-img.ymldeleted file mode 100644index 4ee99f27a6..0000000000--- a/.github/workflows/build-patroni-docker-img.yml+++ /dev/null@@ -1,38 +0,0 @@-name: Build patroni-on: [workflow_dispatch]--jobs:- patroni-image:- name: Build patroni- runs-on: ubuntu-latest- steps:- - name: βοΈ Checkout source- uses: actions/checkout@v3- with:- repository: 'zalando/patroni'- - name: Save commit hashes for tag- id: commit- uses: pr-mpt/actions-commit-hash@v2- - name: π§ Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: π Login to Docker Hub- uses: docker/login-action@v2- with:- username: ${{ secrets.DOCKERHUB_USERNAME }}- password: ${{ secrets.DOCKERHUB_TOKEN }}- - name: Set up Depot CLI- uses: depot/setup-action@v1- - name: ποΈ Build backend and push to docker hub- uses: depot/build-push-action@v1- with:- project: 64mmf0n610- token: ${{ secrets.DEPOT_PROJECT_TOKEN }}- push: true- context: .- file: Dockerfile- tags: |- infisical/patroni:${{ steps.commit.outputs.short }}- infisical/patroni:latest- platforms: linux/amd64,linux/arm64--\ No newline at end of filediff --git a/.github/workflows/check-api-for-breaking-changes.yml b/.github/workflows/check-api-for-breaking-changes.ymlindex 6b84a21aa0..d5d4f7aa64 100644--- a/.github/workflows/check-api-for-breaking-changes.yml+++ b/.github/workflows/check-api-for-breaking-changes.yml@@ -14,13 +14,9 @@ jobs:timeout-minutes: 15steps:- name: Checkout source- uses: actions/checkout@v3- # - name: Setup Node 22- # uses: actions/setup-node@v3- # with:- # node-version: "22"+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025# uncomment this when testing locally using nektos/act- - uses: KengoTODA/actions-setup-docker-compose@v1+ - uses: KengoTODA/actions-setup-docker-compose@17da3fa4493b7303eff3e8f4f84a07ed6ed2e7a7 # v1, Feb 6, 2026if: ${{ env.ACT }}name: Install `docker compose` for local simulationswith:@@ -55,7 +51,7 @@ jobs:DB_CONNECTION_URI: postgres://infisical:[email protected]:5432/infisical?sslmode=disableJWT_AUTH_SECRET: something-randomENCRYPTION_KEY: 4bnfe4e407b8921c104518903515b218- - uses: actions/setup-go@v5+ - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0with:go-version: "1.21.5"- name: Wait for container to be stable and check logsdiff --git a/.github/workflows/check-migration-file-edited.yml b/.github/workflows/check-migration-file-edited.ymlindex e94a573c61..bd87c5819f 100644--- a/.github/workflows/check-migration-file-edited.yml+++ b/.github/workflows/check-migration-file-edited.yml@@ -11,7 +11,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:fetch-depth: 0diff --git a/.github/workflows/check-non-re2-regex.yml b/.github/workflows/check-non-re2-regex.ymlindex fef403fc51..2678d0d904 100644--- a/.github/workflows/check-non-re2-regex.yml+++ b/.github/workflows/check-non-re2-regex.yml@@ -8,7 +8,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:fetch-depth: 0diff --git a/.github/workflows/generate-release-changelog.yml b/.github/workflows/generate-release-changelog.ymlindex e26a304cfb..c0eb43289f 100644--- a/.github/workflows/generate-release-changelog.yml+++ b/.github/workflows/generate-release-changelog.yml@@ -13,12 +13,12 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:fetch-tags: truefetch-depth: 0- name: Set up Python- uses: actions/setup-python@v5+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0with:python-version: "3.12.0"- name: Install dependenciesdiff --git a/.github/workflows/generate-upgrade-impact.yml b/.github/workflows/generate-upgrade-impact.ymlindex cc655089ec..b9fcd3636f 100644--- a/.github/workflows/generate-upgrade-impact.yml+++ b/.github/workflows/generate-upgrade-impact.yml@@ -34,7 +34,7 @@ jobs:- name: Checkout mainif: steps.release.outputs.stable == 'true'- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:ref: mainfetch-depth: 0@@ -42,7 +42,7 @@ jobs:- name: Setup Nodeif: steps.release.outputs.stable == 'true'- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version: 22cache: npmdiff --git a/.github/workflows/helm-release-infisical-core.yml b/.github/workflows/helm-release-infisical-core.ymlindex 81350b3917..227f2c9189 100644--- a/.github/workflows/helm-release-infisical-core.yml+++ b/.github/workflows/helm-release-infisical-core.yml@@ -8,16 +8,16 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v3+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:fetch-depth: 0- name: Set up Helm- uses: azure/[email protected]+ uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0with:version: v3.17.0- - uses: actions/[email protected]+ - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0with:python-version: "3.x"check-latest: true@@ -29,7 +29,7 @@ jobs:helm repo update- name: Set up chart-testing- uses: helm/[email protected]+ uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0with:yamale_version: "6.0.0"@@ -37,7 +37,7 @@ jobs:run: ct lint --config ct.yaml --charts helm-charts/infisical-standalone-postgres- name: Create kind cluster- uses: helm/[email protected]+ uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0- name: Create namespacerun: kubectl create namespace infisical-standalone-postgres@@ -64,9 +64,9 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v2+ uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 (outdated β consider upgrading to v4)- name: Install Helm- uses: azure/setup-helm@v3+ uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3 latestwith:version: v3.10.0- name: Build and push helm package to Cloudsmithdiff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/issue-labeler.ymlindex c95b43e417..34fc96ab0e 100644--- a/.github/workflows/issue-labeler.yml+++ b/.github/workflows/issue-labeler.yml@@ -11,7 +11,7 @@ jobs:issues: writesteps:- name: Add product label based on issue form selection- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0with:script: |const body = context.payload.issue.body || '';diff --git a/.github/workflows/nightly-tag-generation.yml b/.github/workflows/nightly-tag-generation.ymldeleted file mode 100644index ff15b61d8f..0000000000--- a/.github/workflows/nightly-tag-generation.yml+++ /dev/null@@ -1,91 +0,0 @@-name: Generate Nightly Tag--on:- workflow_dispatch: # Allow manual triggering for testing--permissions:- contents: write--jobs:- create-nightly-tag:- runs-on: ubuntu-latest-- steps:- - name: Checkout code- uses: actions/checkout@v4- with:- fetch-depth: 0 # Fetch all history for tags- token: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}-- - name: Configure Git- run: |- git config user.name "github-actions[bot]"- git config user.email "github-actions[bot]@users.noreply.github.com"-- - name: Generate nightly tag- run: |- # Get the latest infisical production tag- LATEST_STABLE_TAG=$(git tag --list | grep "^v[0-9].*$" | grep -v "nightly" | sort -V | tail -n1)-- if [ -z "$LATEST_STABLE_TAG" ]; then- echo "No infisical production tags found, using v0.1.0"- LATEST_STABLE_TAG="v0.1.0"- fi-- echo "Latest production tag: $LATEST_STABLE_TAG"-- # Extract version numbers and increment minor version- VERSION_NUMBERS=$(echo "$LATEST_STABLE_TAG" | sed 's/^v//')- MAJOR=$(echo "$VERSION_NUMBERS" | cut -d'.' -f1)- MINOR=$(echo "$VERSION_NUMBERS" | cut -d'.' -f2)- PATCH=$(echo "$VERSION_NUMBERS" | cut -d'.' -f3)-- # Increment minor version, reset patch to 0- NEXT_MINOR=$((MINOR + 1))- NEXT_VERSION="v${MAJOR}.${NEXT_MINOR}.0"-- echo "Next version for nightly: $NEXT_VERSION"-- # Get current date in YYYYMMDD format- DATE=$(date +%Y%m%d)-- # Base nightly tag name using next version- BASE_TAG="${NEXT_VERSION}-nightly-${DATE}"-- # Check if this exact tag already exists- if git tag --list | grep -q "^${BASE_TAG}$"; then- echo "Base tag ${BASE_TAG} already exists, finding next increment"-- # Find existing tags for this date and get the highest increment- EXISTING_TAGS=$(git tag --list | grep "^${BASE_TAG}" | grep -E '\.[0-9]+$' || true)-- if [ -z "$EXISTING_TAGS" ]; then- # No incremental tags exist, create .1- NIGHTLY_TAG="${BASE_TAG}.1"- else- # Find the highest increment- HIGHEST_INCREMENT=$(echo "$EXISTING_TAGS" | sed "s|^${BASE_TAG}\.||" | sort -n | tail -n1)- NEXT_INCREMENT=$((HIGHEST_INCREMENT + 1))- NIGHTLY_TAG="${BASE_TAG}.${NEXT_INCREMENT}"- fi- else- # Base tag doesn't exist, use it- NIGHTLY_TAG="$BASE_TAG"- fi-- echo "Generated nightly tag: $NIGHTLY_TAG"- echo "NIGHTLY_TAG=$NIGHTLY_TAG" >> $GITHUB_ENV-- git tag "$NIGHTLY_TAG"- git push origin "$NIGHTLY_TAG"- echo "β Created and pushed nightly tag: $NIGHTLY_TAG"-- - name: Create GitHub Release- uses: softprops/action-gh-release@v2- with:- tag_name: ${{ env.NIGHTLY_TAG }}- name: ${{ env.NIGHTLY_TAG }}- draft: false- prerelease: true- generate_release_notes: true- make_latest: falsediff --git a/.github/workflows/release-standalone-docker-img-postgres-offical.yml b/.github/workflows/release-standalone-docker-img-postgres-offical.ymlindex 93cc55b594..fe4119c4b6 100644--- a/.github/workflows/release-standalone-docker-img-postgres-offical.yml+++ b/.github/workflows/release-standalone-docker-img-postgres-offical.yml@@ -21,7 +21,7 @@ jobs:id: extract_versionrun: echo "::set-output name=version::${GITHUB_REF_NAME}"- name: βοΈ Checkout source- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:fetch-depth: 0- name: π¦ Install dependencies to test all dependencies@@ -37,18 +37,18 @@ jobs:echo "Output Value: ${{ steps.version.outputs.increment }}"- name: Save commit hashes for tagid: commit- uses: pr-mpt/actions-commit-hash@v2+ run: echo "short=${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT"- name: π§ Set up Docker Buildx- uses: docker/setup-buildx-action@v3+ uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0- name: π Login to Docker Hub- uses: docker/login-action@v3+ uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0with:username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_TOKEN }}- name: Set up Depot CLI- uses: depot/setup-action@v1+ uses: depot/setup-action@15c09a5f77a0840ad4bce955686522a257853461 # v1.7.1- name: π¦ Build backend and export to Docker- uses: depot/build-push-action@v1+ uses: depot/build-push-action@f78af826a1c272c4b60c485e934974b515094928 # Main / v1, Mar 10, 2026with:project: 64mmf0n610token: ${{ secrets.DEPOT_PROJECT_TOKEN }}@@ -67,7 +67,7 @@ jobs:DD_GIT_COMMIT_SHA=${{ github.sha }}- name: Snyk to check Docker image for vulnerabilitiescontinue-on-error: true- uses: snyk/actions/docker@master+ uses: snyk/actions/docker@9cf6ca713d71123d2d229cc3d7f145b96ea3c518 # master @ 2026-05-05env:SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}with:@@ -84,7 +84,7 @@ jobs:id: extract_versionrun: echo "::set-output name=version::${GITHUB_REF_NAME}"- name: βοΈ Checkout source- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:fetch-depth: 0- name: π¦ Install dependencies to test all dependencies@@ -100,18 +100,18 @@ jobs:echo "Output Value: ${{ steps.version.outputs.increment }}"- name: Save commit hashes for tagid: commit- uses: pr-mpt/actions-commit-hash@v2+ run: echo "short=${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT"- name: π§ Set up Docker Buildx- uses: docker/setup-buildx-action@v3+ uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0- name: π Login to Docker Hub- uses: docker/login-action@v3+ uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0with:username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_TOKEN }}- name: Set up Depot CLI- uses: depot/setup-action@v1+ uses: depot/setup-action@15c09a5f77a0840ad4bce955686522a257853461 # v1.7.1- name: π¦ Build backend and export to Docker- uses: depot/build-push-action@v1+ uses: depot/build-push-action@f78af826a1c272c4b60c485e934974b515094928 # Main / v1, Mar 10, 2026with:project: 64mmf0n610token: ${{ secrets.DEPOT_PROJECT_TOKEN }}diff --git a/.github/workflows/release_helm_gateway.yaml b/.github/workflows/release_helm_gateway.yamlindex 60f0602654..e98187405b 100644--- a/.github/workflows/release_helm_gateway.yaml+++ b/.github/workflows/release_helm_gateway.yaml@@ -8,22 +8,22 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v3+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:fetch-depth: 0- name: Set up Helm- uses: azure/[email protected]+ uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0with:version: v3.17.0- - uses: actions/[email protected]+ - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0with:python-version: "3.x"check-latest: true- name: Set up chart-testing- uses: helm/[email protected]+ uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0with:yamale_version: "6.0.0"@@ -31,7 +31,7 @@ jobs:run: ct lint --config ct.yaml --charts helm-charts/infisical-gateway- name: Create kind cluster- uses: helm/[email protected]+ uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0- name: Create namespacerun: kubectl create namespace infisical-gateway@@ -53,10 +53,10 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025- name: Install Helm- uses: azure/setup-helm@v3+ uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3 latestwith:version: v3.10.0diff --git a/.github/workflows/run-backend-bdd-tests.yml b/.github/workflows/run-backend-bdd-tests.ymlindex e5fffbf9e7..672ee5c4f5 100644--- a/.github/workflows/run-backend-bdd-tests.yml+++ b/.github/workflows/run-backend-bdd-tests.yml@@ -25,23 +25,23 @@ jobs:docker system prune -af- name: βοΈ Checkout source- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025- name: Install uv- uses: astral-sh/setup-uv@v5+ uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5- name: Install Pythonrun: uv python install- - uses: KengoTODA/actions-setup-docker-compose@v1+ - uses: KengoTODA/actions-setup-docker-compose@477353946803dd64eaa44008b865b6bfc88cab4e # v1.2.4if: ${{ env.ACT }}name: Install `docker compose` for local simulationswith:version: "2.14.2"- name: π§ Setup Node 22id: setup-node- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: "22"- name: Setup Python 3.11- uses: actions/setup-python@v5+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0with:python-version: "3.11"- name: Install sscep (SCEP client for BDD tests)@@ -53,7 +53,7 @@ jobs:sudo cp /tmp/sscep-build/build/sscep /usr/local/bin/sscep- name: π¦ Cache node_modulesid: cache-node-modules- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4with:path: backend/node_moduleskey: backend-node-modules-${{ runner.os }}-node${{ steps.setup-node.outputs.node-version }}-${{ hashFiles('backend/package-lock.json') }}@@ -89,12 +89,12 @@ jobs:sed -i 's/pkiAcme: .*/pkiAcme: true,/g' backend/src/ee/services/license/license-fns.tssed -i 's/pkiScep: .*/pkiScep: true,/g' backend/src/ee/services/license/license-fns.ts- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v3+ uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0with:driver-opts: |image=moby/buildkit:latest- name: Build Infisical backend Docker image with caching- uses: docker/bake-action@v5+ uses: docker/bake-action@4a9a8d494466d37134e2bfca2d3a8de8fb2681ad # v5timeout-minutes: 30with:files: docker-compose.bdd.yml@@ -108,7 +108,7 @@ jobs:- name: Start Infisicalrun: docker compose -f docker-compose.bdd.yml up -d- name: Wait for API to be ready- uses: nick-fields/retry@v3+ uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2with:timeout_seconds: 60max_attempts: 30@@ -130,7 +130,7 @@ jobs:docker compose -f docker-compose.bdd.yml logs backend > logs/backend.log 2>&1 || true- name: Upload backend logs as artifactif: always() # Always upload, even on failure/cancellation- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4with:name: backend-logs-${{ github.run_id }}path: logs/backend.logdiff --git a/.github/workflows/run-helm-chart-tests-infisical-gateway.yml b/.github/workflows/run-helm-chart-tests-infisical-gateway.ymlindex b382669e3f..42e28854d5 100644--- a/.github/workflows/run-helm-chart-tests-infisical-gateway.yml+++ b/.github/workflows/run-helm-chart-tests-infisical-gateway.yml@@ -11,22 +11,22 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v3+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:fetch-depth: 0- name: Set up Helm- uses: azure/[email protected]+ uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0with:version: v3.17.0- - uses: actions/[email protected]+ - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0with:python-version: "3.x"check-latest: true- name: Set up chart-testing- uses: helm/[email protected]+ uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0with:yamale_version: "6.0.0"@@ -34,7 +34,7 @@ jobs:run: ct lint --config ct.yaml --charts helm-charts/infisical-gateway- name: Create kind cluster- uses: helm/[email protected]+ uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0- name: Create namespacerun: kubectl create namespace infisical-gatewaydiff --git a/.github/workflows/run-helm-chart-tests-infisical-standalone-postgres.yml b/.github/workflows/run-helm-chart-tests-infisical-standalone-postgres.ymlindex 87a3929ad2..86753fa804 100644--- a/.github/workflows/run-helm-chart-tests-infisical-standalone-postgres.yml+++ b/.github/workflows/run-helm-chart-tests-infisical-standalone-postgres.yml@@ -11,16 +11,16 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v3+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:fetch-depth: 0- name: Set up Helm- uses: azure/[email protected]+ uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0with:version: v3.17.0- - uses: actions/[email protected]+ - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0with:python-version: "3.x"check-latest: true@@ -32,7 +32,7 @@ jobs:helm repo update- name: Set up chart-testing- uses: helm/[email protected]+ uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0with:yamale_version: "6.0.0"@@ -40,7 +40,7 @@ jobs:run: ct lint --config ct.yaml --charts helm-charts/infisical-standalone-postgres- name: Create kind cluster- uses: helm/[email protected]+ uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0- name: Create namespacerun: kubectl create namespace infisical-standalone-postgresdiff --git a/.github/workflows/validate-db-schemas.yml b/.github/workflows/validate-db-schemas.ymlindex 8abece3e5e..742ff3fe8d 100644--- a/.github/workflows/validate-db-schemas.yml+++ b/.github/workflows/validate-db-schemas.yml@@ -21,16 +21,16 @@ jobs:ENCRYPTION_KEY: 4bnfe4e407b8921c104518903515b218steps:- name: βοΈ Checkout source- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:fetch-depth: 0- - uses: KengoTODA/actions-setup-docker-compose@v1+ - uses: KengoTODA/actions-setup-docker-compose@477353946803dd64eaa44008b865b6bfc88cab4e # v1.2.4if: ${{ env.ACT }}name: Install `docker compose` for local simulationswith:version: "2.14.2"- name: π§ Setup Node 22- uses: actions/setup-node@v3+ uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3 latest (consider upgrading to v4)with:node-version: "22"cache: "npm"diff --git a/.github/workflows/validate-upgrade-impact.yml b/.github/workflows/validate-upgrade-impact.ymlindex 5e6ff0ced6..aa5bc4696c 100644--- a/.github/workflows/validate-upgrade-impact.yml+++ b/.github/workflows/validate-upgrade-impact.yml@@ -12,13 +12,13 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 Nov 14, 2025with:fetch-depth: 0fetch-tags: true- name: Setup Node- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version: 22cache: npm