Skip to content

Alexhancock/publish npm file format fix#8091

Merged
alexhancock merged 2 commits intomainfrom
alexhancock/publish-npm-file-format-fix
Mar 24, 2026
Merged

Alexhancock/publish npm file format fix#8091
alexhancock merged 2 commits intomainfrom
alexhancock/publish-npm-file-format-fix

Conversation

@alexhancock
Copy link
Copy Markdown
Collaborator

Fixing an invalid action file format. Verified with actionlint

@alexhancock alexhancock requested a review from jamadeo March 24, 2026 18:15
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6b54b0633f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +40 to +42
environment:
name: npm-production-publishing
url: https://www.npmjs.com/org/block
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep environment protection scoped to publish path

Adding environment: npm-production-publishing at the release job level makes all runs of this job require that environment, but this workflow’s documented setup restricts that environment to the main branch (lines 3–7). That means a workflow_dispatch dry run from a feature branch is blocked before any steps run, so the non-main dry-run flow (if: inputs.dry-run == true || github.ref != 'refs/heads/main') can no longer execute for validation. This should stay scoped to the actual publish path (for example, a separate publish-only job) so branch dry-runs still work.

Useful? React with 👍 / 👎.

@alexhancock alexhancock added this pull request to the merge queue Mar 24, 2026
Merged via the queue into main with commit 6b14cff Mar 24, 2026
20 checks passed
@alexhancock alexhancock deleted the alexhancock/publish-npm-file-format-fix branch March 24, 2026 18:30
wpfleger96 added a commit that referenced this pull request Mar 24, 2026
* origin/main:
  fix: use pnpm when publishing (#8092)
  Alexhancock/publish npm file format fix (#8091)
  fix: iteration on the publish-npm workflow (#8087)
  chore: ignore unmaintained warning for proc-macro-error (#8084)
  chore: clean up stray recipe.yaml (#8086)
  chore(release): bump version to 1.29.0 (minor) (#8088)
  Update lockfile references (#8085)
  Fix version bump (#8083)
  Add a code review step which uses a short-lived provider token (#7932)
lifeizhou-ap added a commit that referenced this pull request Mar 25, 2026
* main:
  Fix user message text silently dropped when message contains both text and image (#8071)
  fix: use pnpm when publishing (#8092)
  Alexhancock/publish npm file format fix (#8091)
  fix: iteration on the publish-npm workflow (#8087)
  chore: ignore unmaintained warning for proc-macro-error (#8084)
  chore: clean up stray recipe.yaml (#8086)
  chore(release): bump version to 1.29.0 (minor) (#8088)
  Update lockfile references (#8085)
  Fix version bump (#8083)
  Add a code review step which uses a short-lived provider token (#7932)
michaelneale added a commit that referenced this pull request Mar 25, 2026
* origin/main:
  Fix user message text silently dropped when message contains both text and image (#8071)
  fix: use pnpm when publishing (#8092)
  Alexhancock/publish npm file format fix (#8091)
  fix: iteration on the publish-npm workflow (#8087)
  chore: ignore unmaintained warning for proc-macro-error (#8084)
  chore: clean up stray recipe.yaml (#8086)
  chore(release): bump version to 1.29.0 (minor) (#8088)
  Update lockfile references (#8085)
  Fix version bump (#8083)
  Add a code review step which uses a short-lived provider token (#7932)
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