by shigemk2

当面は技術的なことしか書かない

iTerm2で「特定Profileの新規タブ」のショートカット

iTerm2の New Tab with Profileを使うと、DefaultではないProfileを指定して新規タブを開ける。 公式ドキュメントではNew Tab with Profileが「指定したprofileで新しいtabを作る」アクションとして説明され、グローバルキー設定はprofile側のkey mappingsに上書きされるとされている。

公式URL https://iterm2.com/documentation-preferences-profiles-keys.html

https://iterm2.com/documentation-preferences-keys.html

VPC endpoints for Systems Manager

AWS PrivateLink restricts all network traffic between your managed instances, Systems Manager, and Amazon EC2 to the Amazon network. This means that your managed instances don't have access to the Internet. If you use AWS PrivateLink, you don't need an internet gateway, a NAT device, or a virtual private gateway.

  • privatelinkをうまく使いこなせばnatがいらなくなる
  • ssmのprivatelink使わない場合はエンドポイントへのアウトバウンドトラフィックを許可する必要がある

docs.aws.amazon.com

pinGitHubActionDigestsToSemver

pinGitHubActionDigests の上位版で、SHA pin に加えて行末コメントを semver 形式(# v4.1.1)で維持してくれる。

ただし将来的にデフォルト挙動に統合されて非推奨化する計画あり。 github.com

SHA pin 強制ポリシー

Require actions to be pinned to a full-length commit SHA: All actions must be pinned to a full-length commit SHA to be used. This includes actions from your enterprise and actions authored by GitHub. Reusable workflows can still be referenced by tag.

ということが書かれているので、sha pin強制ポリシーはreusable workflowは対象外なのでorgでshaごと指定するとかする必要がある

docs.github.com

Immutable Releases

2025年10月に GA。Organization SettingsのReleasesセクションから「All repositories」または「Selected repositories」で一括有効化でき、タグの付け替えとアセット改竄を防げる。Release attestationも自動生成される。

わかりづらいけどこの辺に案内あるけれど、ググれば比較的新しい操作方法が出てくるはず docs.github.com

docs.github.com

text.baldanders.info