Skip to content

feat: Initial release - #1

Open
amanstep wants to merge 3 commits into
mainfrom
release
Open

amanstep wants to merge 3 commits into
mainfrom
release

Conversation

@amanstep

@amanstep amanstep commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

@amanstep amanstep added the review-required Request Claude AI code review on the PR label Nov 26, 2026
@github-actions

Copy link
Copy Markdown

PR Review

Action Type

Node-based action — uses node24 runtime with compiled TypeScript in dist/main/index.js, built via @vercel/ncc.


✅ Passed Checks

  • License present with StepSecurity copyright (source file headers carry both Google LLC and StepSecurity attributions)
  • action.yml present; author: 'step-security' correctly set
  • SECURITY.md present with correct reporting email
  • No FUNDING.yml file present
  • No renovate.json file present
  • No PULL_REQUEST.md file present
  • No ISSUE_TEMPLATE folder present
  • No CHANGELOG.md file present
  • No .vscode folder present
  • .github/workflows/auto_cherry_pick.yml present
  • .github/workflows/actions_release.yml present
  • README banner — StepSecurity maintained-action banner is the first line of README.md
  • Subscription check — present in src/main.ts; calls https://agent.api.stepsecurity.io/v1/github/${GITHUB_REPOSITORY}/actions/maintained-actions-subscription
  • upstream variable — value 'google-github-actions/deploy-cloudrun' correctly matches original-owner: "google-github-actions" + repo-name: "deploy-cloudrun" from auto_cherry_pick.yml
  • README semver — all action references use major-only tag (@v3), no full semver used
  • package.json author — "author": "step-security"
  • package.json repository — URL contains step-security
  • All runtime dependencies are used — axios, yaml, @actions/*, @google-github-actions/* are all actively imported; googleapis is a devDependency used only for TypeScript types
  • dist/ folder present with compiled dist/main/index.js
  • build script present in package.json

❌ Failed Checks

  • LICENSE file is missing the original author's copyright — The Apache 2.0 appendix at the bottom of LICENSE only reads Copyright 2026 StepSecurity. The original author (Google LLC, 2020) must also be included:
Copyright 2020 Google LLC
Copyright 2026 StepSecurity

⚠️ Warnings

  • Wrong version in pinnedToHeadWarning — src/main.ts:142 calls pinnedToHeadWarning('v1') but the action is at version 3. Should be pinnedToHeadWarning('v3').
  • Wrong org in error message — src/main.ts:379 uses google-github-actions/google-github-deploy-cloudrun in the setFailed() message. Should be step-security/google-github-deploy-cloudrun.
  • Wrong org in auth warning — src/main.ts:345 refers to google-github-actions/auth. Should reference step-security/google-github-auth (the StepSecurity-maintained fork).
  • Incorrect actions/checkout version in README — README.md uses actions/checkout@v7 which does not exist (latest stable is v4). This may confuse users copying the example.

🔒 Security Findings

No security issues found. The subscription check is properly guarded against timeout/unreachable API, the gcloud_component input is strictly validated to only alpha or beta, and flags are routed through parseFlags/parseKVString helpers rather than raw shell interpolation.


Summary

The action is well-structured with correct StepSecurity branding and all mandatory files in place. One failing check must be addressed: the LICENSE file's copyright appendix must include Google LLC (original author) alongside StepSecurity. Three warnings about stale version references (v1 vs v3, checkout@v7, wrong org names in log messages) should also be fixed before release.

Comment thread src/main.ts Resolved
Comment thread src/main.ts Resolved
Comment thread src/main.ts Resolved
Comment thread README.md
id-token: 'write'

steps:
- uses: 'actions/checkout@v7'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actions/checkout@v7 does not exist — the latest stable release is v4. Using a non-existent version will cause workflows copied from this example to fail.

Suggested change
- uses: 'actions/checkout@v7'
- uses: 'actions/checkout@v4'

Comment thread LICENSE
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Apache 2.0 appendix must attribute both the original author and StepSecurity. Currently only StepSecurity is listed; Google LLC (original copyright holder, 2020) is missing.

Please update to:

Copyright 2020 Google LLC
Copyright 2026 StepSecurity

@amanstep amanstep removed the review-required Request Claude AI code review on the PR label Nov 26, 2026
Comment thread example-app/index.js
@@ -0,0 +1,27 @@
// Copyright 2020 Google, LLC.
//

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//
// Copyright 2026 StepSecurity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants