vim-jp / vim-jp/vimdoc-ja-working

ci: ヘルプ生成GHAの改善点

Open
#1,011 2 comments 0 reactions 1 assignee View on GitHub

@tsuyoshicho is already working on this.

Since Jan 22, 2022.

Dominant language
Vim Script
Stars
84
Forks
61
Avg merge
2d 19h
Merged PRs (30d)
35

Description

課題

いくつかの点で改善が必要そうというメモ & 良いやり方にできそうなら対応はしたい

GHA自体

  • fork先でもエラーしないで動いてしまう(pushはできていない) : 本来はエラーするべきのはず

これについては下参照

EndBug/add-and-commit@v7 の利用関係

  • pathspec_error_handling の指定がデフォルトの ignore のため、 git add 操作のNGは検知できない状態
  • 現在排他関係でworkflowとしてシリアライズしている、それは維持するとしても pull: 'NO-PULL' は pull: '--rebase' にするのがよいかもしれない
  • output パラメータの pushed を見て push 失敗でfailさせたほうがよさそう(ただしヘルプに変更がなかった時はpushがなく、CIでエラーする状況になるかもなので注意)

参考
https://github.com/vim-jp/vimdoc-ja-working/blob/a9ed7b1d48e5c61f49c3b9939720cc47bf33a2c5/.github/workflows/generate.yml#L48-L58

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.