Skip to content

chore: standardize action metadata validation in CI - #7

Closed
developjik wants to merge 1 commit into
mainfrom
auto/notify-maint-20260405
Closed

chore: standardize action metadata validation in CI#7
developjik wants to merge 1 commit into
mainfrom
auto/notify-maint-20260405

Conversation

@developjik

Copy link
Copy Markdown
Owner

Summary\n- add CI workflow to validate action metadata and GitHub Actions workflow syntax\n- add script to enforce runs.using=node20, runs.main=dist/index.js, and dist entrypoint existence across all actions\n- fix trailing whitespace in notify-on-failure/action.yml and document validation flow in README files\n\n## Validation\n- ./scripts/validate-action-metadata.sh (pass)\n- local actionlint CLI not installed; added CI actionlint step via reviewdog/actionlint\n

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

Copy link
Copy Markdown

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: 92eb849f03

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


status=0

for action_file in notify-*/action.yml; do

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Scan all action manifests in validation loop

The new validator claims to enforce metadata consistency across all actions, but it only iterates notify-*/action.yml. Any action added under a different directory name (or a root-level action.yml) will be skipped entirely, so CI can pass while that action uses a different runs.using/runs.main contract. This weakens the central guarantee introduced by this commit.

Useful? React with 👍 / 👎.

@developjik

Copy link
Copy Markdown
Owner Author

Closing as superseded by #10, which merged the action metadata validation workflow after fixing the actionlint CI failure.

@developjik developjik closed this May 16, 2026
@developjik
developjik deleted the auto/notify-maint-20260405 branch May 16, 2026 08:44
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.

1 participant