From 19e6973706c043e78fbf565ca576421995be95f2 Mon Sep 17 00:00:00 2001 From: aditya Date: Mon, 6 Apr 2026 15:48:30 +0530 Subject: [PATCH] file renaming --- ...rdening-validate.yml => validate-pnpm-config.yml} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename .github/workflows/{pnpm-hardening-validate.yml => validate-pnpm-config.yml} (92%) diff --git a/.github/workflows/pnpm-hardening-validate.yml b/.github/workflows/validate-pnpm-config.yml similarity index 92% rename from .github/workflows/pnpm-hardening-validate.yml rename to .github/workflows/validate-pnpm-config.yml index 512fdc4..74a9ef0 100644 --- a/.github/workflows/pnpm-hardening-validate.yml +++ b/.github/workflows/validate-pnpm-config.yml @@ -1,4 +1,4 @@ -name: Validate pnpm hardening +name: Validate pnpm config on: workflow_call: {} @@ -8,7 +8,7 @@ permissions: jobs: require-pnpm-files: - name: Require pnpm lockfile and workspace file + name: Validate pnpm config - Require pnpm lockfile and workspace file runs-on: ubuntu-latest outputs: pnpm_workspace_changed: ${{ steps.workspace_files.outputs.any_changed }} @@ -32,11 +32,11 @@ jobs: root="${GITHUB_WORKSPACE}" missing=0 if [[ ! -f "${root}/pnpm-lock.yaml" ]]; then - echo "::error title=pnpm hardening::Missing pnpm-lock.yaml at the repository root (expected next to package.json)." + echo "::error title=validate pnpm config::Missing pnpm-lock.yaml at the repository root (expected next to package.json)." missing=1 fi if [[ ! -f "${root}/pnpm-workspace.yaml" ]]; then - echo "::error title=pnpm hardening::Missing pnpm-workspace.yaml at the repository root." + echo "::error title=validate pnpm config::Missing pnpm-workspace.yaml at the repository root." missing=1 fi if [[ "${missing}" -ne 0 ]]; then @@ -45,7 +45,7 @@ jobs: echo "pnpm-lock.yaml and pnpm-workspace.yaml are present." validate-pnpm-workspace: - name: Validate pnpm-workspace.yaml policy + name: Validate pnpm config - Validate pnpm-workspace.yaml policy runs-on: ubuntu-latest needs: require-pnpm-files if: needs.require-pnpm-files.outputs.pnpm_workspace_changed == 'true' @@ -154,7 +154,7 @@ jobs: ) for msg in errors: - print(f"::error title=pnpm hardening::{msg}") + print(f"::error title=validate pnpm config::{msg}") if errors: print(f"\nValidation failed with {len(errors)} error(s).", file=sys.stderr)