Skip to content

ci(deps): bump actions/checkout from 7.0.0 to 7.0.1 - #130

Merged
github-actions[bot] merged 3 commits into
mainfrom
dependabot/github_actions/main/actions/checkout-7.0.1
Jul 31, 2026
Merged

ci(deps): bump actions/checkout from 7.0.0 to 7.0.1#130
github-actions[bot] merged 3 commits into
mainfrom
dependabot/github_actions/main/actions/checkout-7.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/checkout from 7.0.0 to 7.0.1.

Release notes

Sourced from actions/checkout's releases.

v7.0.1

What's Changed

Full Changelog: actions/checkout@v7...v7.0.1

Changelog

Sourced from actions/checkout's changelog.

Changelog

v7.0.1

v7.0.0

v6.0.3

v6.0.2

v6.0.1

v6.0.0

v5.0.1

v5.0.0

v4.3.1

v4.3.0

v4.2.2

v4.2.1

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@9c091bb...3d3c42e)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github-actions Pull requests that update GitHub Actions code labels Jul 27, 2026
@dependabot
dependabot Bot requested a review from genzouw as a code owner July 27, 2026 00:10
@dependabot dependabot Bot added github-actions Pull requests that update GitHub Actions code dependencies Pull requests that update a dependency file labels Jul 27, 2026
@github-actions github-actions Bot added the ci label Jul 27, 2026
Comment thread .github/workflows/lychee.yml Fixed
@github-actions
github-actions Bot enabled auto-merge (squash) July 27, 2026 00:12
genzouw added 2 commits July 27, 2026 09:12
lychee.ymlのactions/checkoutピン留めコメントが過去の複数回のdependabot更新で
「置換」ではなく「連結」されてしまい、存在しない参照(v4.1.7.0.1)を指していた。
他の全ワークフローファイルと同じ正しい表記(v7.0.1)に修正。

レビューコメント: #130 (comment)
レビュアー: github-advanced-security
優先度: high
@sonarqubecloud

Copy link
Copy Markdown

@genzouw genzouw left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Pull Request レビューサマリー

✅ 全体評価

actions/checkout のハッシュピンを v7.0.0 から v7.0.1 へ差し替えるだけの変更で、25ファイル30箇所すべてが同一SHAに揃っています。フルSHAピン + バージョンコメントという形式も、各ステップの persist-credentials: false も維持されているため、サプライチェーン面の後退はありません。

🔍 レビューで検証した内容

  • SHAとタグの対応: gh api repos/actions/checkout/git/ref/tags/v7.0.13d3c42e5aac5ba805825da76410c181273ba90b1 を指すことを確認しました。該当コミットのメッセージも prep v7.0.1 release (#2531) で一致しています
  • 更新漏れの有無: main 側の actions/checkout@ 参照は25ファイル30箇所で、本PRの変更ファイル数と差分行数(+30 / -30)に一致します。.github/ 配下および他のファイルに旧SHA 9c091bb... の残存はありません
  • 破壊的変更: 7.0.0 → 7.0.1 はパッチ更新で、fetch-depth: 0persist-credentials などの入力仕様に変更はありません
  • CI: 全チェックが pass しています。actionlint / zizmor / OSV-Scanner / Trivy / SonarCloud いずれも指摘なしです

✨ 良かった点

  • .github/workflows/lychee.yml:33 のバージョンコメントを、dependabot が生成した壊れた表記から v7.0.1 に直してある点(9a4e76f)が効いています。main 側では zizmor の ref-version-mismatch アラートが未解決のまま残っているので、このPRのマージでそのまま閉じられます。残り29箇所との表記も揃いました
  • v7.0.1 の中身には skip running unsafe pr check if input is defaultactions/checkout#2518)が含まれています。labeler.ymlpull_request_target かつ ref 未指定で checkout しており、v7.0.0 で入った fork PR チェックの影響を受けうる形なので、パッチ更新とはいえ取り込む価値があります

💡 推奨事項

  1. lychee.yml のコメント破損(# v4.1.7.0.0)は main 側に残っています。7.0.2 などが出て本PRが差し替えで閉じられると、同じ壊れ方が再発します。このPRは早めにマージしたいです
  2. 手でコミットを積んでいるので @dependabot rebase / @dependabot recreate は打たないでください。9a4e76f の修正が消えます
  3. 本PRの範囲外ですが、zizmor の dependabot-cooldown.github/dependabot.yml に対して open のままです。cooldowndefault-days: 7 を入れておくと、リリース直後の版を即取り込むリスクを下げられます。別Issueで対応したいです

🎯 承認

更新漏れがなく、SHAとタグの対応も実際に検証できたため、このPRを承認します。auto-merge の対象(semver-patch)なので、承認後はそのままマージまで進みます。

zizmor が拾ったコメント不整合を後回しにせずPR内で潰してあるので、マージ後の main はワークフロー30箇所すべてが v7.0.1 表記で揃った状態になります。次回以降の更新でも差分が読みやすくなります。

@github-actions
github-actions Bot merged commit c076dc9 into main Jul 31, 2026
32 checks passed
@dependabot
dependabot Bot deleted the dependabot/github_actions/main/actions/checkout-7.0.1 branch July 31, 2026 08:49
genzouw added a commit that referenced this pull request Jul 31, 2026
## 概要

`github/codeql-action` のサブパスごとに Dependabot PR が分散し、CodeQL
が毎回失敗する問題を構造的に解消する。あわせて zizmor の `dependabot-cooldown` 指摘に対応する。

## 背景 / 根本原因

`github/codeql-action` は `init` / `autobuild` / `analyze` /
`upload-sarif` が**同一バージョンである必要がある**が、Dependabot
はこれらを別々の依存として扱うため、サブパスごとに個別の PR を作成する。その結果バージョンが揃わず、CodeQL
が以下のエラーで必ず失敗していた。

```
##[error]Loaded a configuration file for version '4.37.0', but running version '4.37.3'
```

このため過去の PR では毎回、他のサブパスの行を手動で揃えるコミットを追加する運用になっていた。

| PR | 対象 | 結末 |
| :--- | :--- | :--- |
| #108 | codeql-action サブパス単体 | クローズ |
| #117 | codeql-action サブパス単体 | クローズ |
| #132 | `autobuild` のみ | 手動で init/analyze を追従 → #134 に内包されクローズ |
| #134 | `analyze` のみ | 手動で init/autobuild を追従 → マージ |

## 変更内容

### 1. `groups` の追加(github-actions)

```yaml
groups:
  codeql-action:
    patterns:
      - github/codeql-action*
```

`github/codeql-action*` にマッチする 4 つのサブパスが 1 本の PR
にまとまり、バージョン不整合が原理的に発生しなくなる。手動追従コミットも不要になる。

### 2. `cooldown` の追加(github-actions / docker 両方)

```yaml
cooldown:
  default-days: 7
```

リリース直後の不安定なバージョンを避ける。zizmor の `dependabot-cooldown` アラート(PR #130
のレビューで指摘)への対応。

## 検証

| 項目 | 結果 |
| :--- | :--- |
| `yamllint .github/dependabot.yml` | ✅ 指摘なし |
| YAML パース + キー構造の確認 | ✅ `groups.codeql-action.patterns` / 両エコシステムの
`cooldown.default-days: 7` を確認 |
| スキーマ準拠 | ✅ [Dependabot options
reference](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference)
の `groups` / `cooldown` 仕様に一致(`cooldown` の `include`/`exclude` は任意) |

なお `.github/dependabot.yml` の実効性は Dependabot 側でしか検証できないため、マージ後に Insights
> Dependency graph > Dependabot でパースエラーが出ていないことの確認を推奨する。

## 補足(本PRの対象外)

`genzouw/ci-workflows/.github/workflows/*.yml` も 6
本の再利用可能ワークフローとして個別に参照されており、バンプ時に PR が 6
本に分散する。ただしバージョン不整合による失敗は起きないため、今回はスコープ外とした。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci dependencies Pull requests that update a dependency file github-actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants