Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ワークフローのサードパーティーアクションのバージョンをコミットハッシュで固定する #1774

Conversation

fkoyama
Copy link
Contributor

@fkoyama fkoyama commented Jan 6, 2025

この Pull request で実施したこと

  • ワークフローで利用しているサードパーティーのアクションをコミットハッシュを使って指定するように修正しました。
    コミットハッシュでアクションのバージョンを固定することで、サプライチェーン攻撃によって意図しないアクションが実行されることを防ぎます。

  • mikepenz/action-junit-report は元々 v4 が指定されていましたが、最新のメジャーバージョンが v5 であるため動作確認の上 v5 に変更しました。

この Pull request では実施していないこと

なし

Issues や Discussions 、関連する Web サイトなどへのリンク

https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions

@tsuna-can-se tsuna-can-se merged commit 38483be into main Jan 6, 2025
11 checks passed
@tsuna-can-se tsuna-can-se deleted the feature/ワークフローのサードパーティーアクションのバージョンをコミットハッシュで固定する branch January 6, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment