LoginSignup
0
0

Github Actions + reg suit で snapshot key が検知できない場合

Posted at

Error

[reg-suit] warn Failed to detect the previous snapshot key
[reg-suit] info Skipped to fetch the expected data because expected key is null.

対応

checkout でfetch-depth を指定して、全てのヒストリーとコミットを参照できるようにしておけば良かったようだ
もしくは適当に大きな数字を指定しても成り立つかもしれない

Number of commits to fetch.
0 indicates all history for all branches and tags.

    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

参考

reg suit 公式
https://github.com/reg-viz/reg-suit#getting-started

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

プロフィール・経歴

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0