-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use full changeset hash for 3rd-party GitHub Actions #48
Conversation
@@ -25,4 +25,4 @@ jobs: | |||
if: ${{ github.event.pull_request.user.type != 'Bot' && toJSON(github.event.pull_request.assignees) == '[]' }} | |||
|
|||
steps: | |||
- uses: technote-space/assign-author@v1 | |||
- uses: technote-space/assign-author@9558557c5c4816f38bd06176fbc324ba14bb3160 # v1.6.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -31,4 +31,4 @@ jobs: | |||
timeout-minutes: 5 | |||
steps: | |||
- uses: actions/checkout@v4 | |||
- uses: ls-lint/[email protected] | |||
- uses: ls-lint/action@1887e6c0e7f2dfa81a2d67591f0eb7782720026f # v2.2.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -31,7 +31,7 @@ jobs: | |||
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | |||
run: echo "COMMIT_MESSAGE=$COMMIT_MESSAGE" | tr '\n' ' ' >> "$GITHUB_ENV" | |||
- name: Notify to slack | |||
uses: tokorom/action-slack-incoming-webhook@main | |||
uses: tokorom/action-slack-incoming-webhook@d57bf1eb618f3dae9509afefa70d5774ad3d42bf # v1.3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ADRも理解です、よさそうでした 🚀
ありがとうございます!🚀 |
変更内容
サードパーティの GitHub Actions のバージョンを Full Changeset Hash での固定に変更する。
👈 の GitHub Actions について、変更した
背景・目的
このリポジトリ https://github.com/route06/actions をよりセキュアにするため。
🔗 社内用GitHub Actionsのセキュリティガイドラインを公開します | メルカリエンジニアリング
Dependabot は Full Changeset Hash に対応している3ため、Full Changeset Hash に変更するデメリットはサードパーティの GitHub Action を初めて導入する時だけ。
TODO
関連情報
Footnotes
GitHub Marketplace に公開されていない理由: https://github.com/github/codeql-action/issues/596#issuecomment-868569180 ↩ ↩2 ↩3
GitHub Marketplace に公開されていない ↩
https://github.com/route06/actions/pull/46#discussion_r1650261916 ↩