Skip to content

Validate boilerplates ref before writing outputs#53

Open
kitsuyui wants to merge 1 commit into
mainfrom
fix/validate-boilerplates-output-ref
Open

Validate boilerplates ref before writing outputs#53
kitsuyui wants to merge 1 commit into
mainfrom
fix/validate-boilerplates-output-ref

Conversation

@kitsuyui

Copy link
Copy Markdown
Member

Summary

  • Move boilerplates ref output capture into a small helper script.
  • Only write a 40- or 64-character hex commit id to GITHUB_OUTPUT.
  • Add workflow checks for valid and malformed ref output.

Checks

  • go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.12 -color
  • go run mvdan.cc/sh/v3/cmd/shfmt@v3.13.1 -d scripts/*.sh
  • bash -n scripts/*.sh
  • shellcheck scripts/*.sh
  • helper script valid/malformed output checks
  • git diff --check

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