From f1aee8b2078f80488ee42a572a68de33c405bd34 Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Fri, 4 Sep 2026 15:47:24 -0400 Subject: [PATCH] ci: remove unused pre-release-sha I missed this in https://github.com/netlify/cli/pull/8392. --- .github/workflows/pre-release-sha.yml | 55 --------------------------- 1 file changed, 55 deletions(-) delete mode 100644 .github/workflows/pre-release-sha.yml diff --git a/.github/workflows/pre-release-sha.yml b/.github/workflows/pre-release-sha.yml deleted file mode 100644 index 9a6af9e67b2..00000000000 --- a/.github/workflows/pre-release-sha.yml +++ /dev/null @@ -1,55 +0,0 @@ ---- -on: - workflow_dispatch: - inputs: - ref: - description: 'Enter a full Git SHA to create a prerelease for' - required: true - -name: Publish a pre-release version of the CLI from a SHA - -jobs: - prerelease: - runs-on: ubuntu-latest - permissions: - id-token: write - contents: write - steps: - - name: Check out specified ref (${{ inputs.ref }}) - uses: actions/checkout@v6 - with: - ref: ${{ inputs.ref }} - - - name: Read primary Node version - id: node - run: echo "version=$(yq eval '.primary_node_version' .github/test-matrix.yml)" >> "$GITHUB_OUTPUT" - - - uses: actions/setup-node@v7 - with: - node-version: ${{ steps.node.outputs.version }} - cache: npm - registry-url: 'https://registry.npmjs.org' - - # Use npm@10 due to https://github.com/npm/cli/issues/8489 and https://github.com/npm/cli/issues/8767 - - name: Setup npm version - run: npm install -g npm@10 - - - name: Install core dependencies - run: npm ci --no-audit - - - name: Build project - run: npm run build - - - name: Configure Git user - run: | - git config --global user.name "Netlify" - git config --global user.email "82042599+token-generator-app[bot]@users.noreply.github.com" - - - name: Run npm version - run: | - npm --no-git-tag-version version "$(jq --raw-output .version package.json)-pre.$(git rev-parse --short ${{ inputs.ref }})" - - - name: Run npm publish - run: npm publish --provenance --tag=rc - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}