Skip to content

Commit ce3a1ef

Browse files
chore: remove shell script references
Signed-off-by: Swarit Pandey <swarit@stepsecurity.io>
1 parent cee172a commit ce3a1ef

7 files changed

Lines changed: 1 addition & 398 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ jobs:
131131
"dist/stepsecurity-dev-machine-guard-windows_amd64.exe.bundle"
132132
sign_with_retry "${{ steps.binaries.outputs.win_arm64 }}" \
133133
"dist/stepsecurity-dev-machine-guard-windows_arm64.exe.bundle"
134-
sign_with_retry "stepsecurity-dev-machine-guard.sh" \
135-
"dist/stepsecurity-dev-machine-guard.sh.bundle"
136134
- name: Upload cosign bundles
137135
env:
138136
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -141,7 +139,6 @@ jobs:
141139
dist/stepsecurity-dev-machine-guard-darwin_unnotarized.bundle \
142140
dist/stepsecurity-dev-machine-guard-windows_amd64.exe.bundle \
143141
dist/stepsecurity-dev-machine-guard-windows_arm64.exe.bundle \
144-
dist/stepsecurity-dev-machine-guard.sh.bundle \
145142
--clobber
146143
147144
- name: Attest build provenance
@@ -151,4 +148,3 @@ jobs:
151148
${{ steps.binaries.outputs.darwin }}
152149
${{ steps.binaries.outputs.win_amd64 }}
153150
${{ steps.binaries.outputs.win_arm64 }}
154-
stepsecurity-dev-machine-guard.sh

.github/workflows/shellcheck.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.goreleaser.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,3 @@ archives:
4545

4646
release:
4747
draft: true
48-
extra_files:
49-
- glob: stepsecurity-dev-machine-guard.sh

docs/release-process.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ Each release includes:
8787
| `stepsecurity-dev-machine-guard-VERSION-darwin` | Notarized universal macOS binary (amd64 + arm64) |
8888
| `stepsecurity-dev-machine-guard-VERSION-darwin_unnotarized` | Original CI-built binary (for provenance verification) |
8989
| `stepsecurity-dev-machine-guard-VERSION-darwin_unnotarized.bundle` | Sigstore cosign bundle for the unnotarized binary |
90-
| `stepsecurity-dev-machine-guard.sh` | Legacy shell script |
91-
| `stepsecurity-dev-machine-guard.sh.bundle` | Sigstore cosign bundle for the shell script |
9290

9391
---
9492

internal/executor/executor_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func (r *Real) IsRoot() bool {
1919
// the lookup fails, or if the resolved path isn't an executable file — in which
2020
// case callers should fall back to /bin/bash.
2121
//
22-
// Mirrors stepsecurity-dev-machine-guard.sh:run_as_logged_in_user. Matters when
22+
// Matters when
2323
// the user's PATH (including npm/pnpm/yarn via nvm/fnm/homebrew) is configured
2424
// only in zsh profile files (.zprofile/.zshrc) — bash -l on such a user sources
2525
// nothing and runs with a stripped PATH, producing empty package scans.

0 commit comments

Comments
 (0)