bangank36 / spriral-learning

My learning resource
MIT License
1 stars 0 forks source link

Gutenberg: contribute to docs build automation #28

Closed bangank36 closed 1 year ago

bangank36 commented 1 year ago

Summary

Q & A

What is the detailed step for submitting new docs

Reference

bangank36 commented 1 year ago

Update

Image

Missing the author identity https://github.com/WordPress/gutenberg/blob/ed5813c1325b8d6a09df7dd1bda00a8d90faf820/.github/workflows/build-plugin-zip.yml#L101

Image

Seems to be the issue with my local, something with permissions

Image

Debuggin with tmate

bangank36 commented 1 year ago

Update

Github context value based on event

Assume automation/test-docs-build-1 is head branch automation/rebuild-docs-manifest is based branch

pull_request_target pull_request
github.head_ref automation/test-docs-build-1 automation/test-docs-build-1
github.ref refs/heads/automation/rebuild-docs-manifest refs/pull/11/merge
github.event.pull_request.head.ref automation/test-docs-build-1 automation/test-docs-build-1
github.event.pull_request.base.ref automation/rebuild-docs-manifest automation/rebuild-docs-manifest
bangank36 commented 1 year ago

Update

bangank36 commented 1 year ago

Staled