Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
fix(ci): guard release PR branch parsing
morluto6838b6bff9ab
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 704d6a281..b733d3372 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -54,8 +54,20 @@ jobs:shell: bashenv:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}- RELEASE_PR_BRANCH: ${{ fromJSON(steps.release.outputs.pr).headBranchName }}+ RELEASE_PR_JSON: ${{ steps.release.outputs.pr }}run: |+ release_pr_branch="$(node --input-type=module -e '+ const value = JSON.parse(process.env.RELEASE_PR_JSON ?? "");+ if (+ typeof value !== "object" ||+ value === null ||+ typeof value.headBranchName !== "string" ||+ value.headBranchName.length === 0+ ) {+ process.exit(1);+ }+ process.stdout.write(value.headBranchName);+ ')"changed_paths="$(git diff --name-only)"if [[ -z "${changed_paths}" ]]; thenecho "Release documentation is already canonical."@@ -72,7 +84,7 @@ jobs:git add -- docs/product-catalog.jsongit commit -m "chore: normalize release product catalog"gh auth setup-git- git push origin "HEAD:${RELEASE_PR_BRANCH}"+ git push origin "HEAD:${release_pr_branch}"publish:name: Publish to npm