Encrypted Secret - CI/CD用語集の定義
encrypted secret とは、GitHub によってリポジトリ、environment、または organization レベルで暗号化して保存される機密値(token、key、パスワード)で、${{ secrets.<NAME> }} として workflow に公開されます。
取り扱いのルール
secret は保存時に暗号化され、fork によってトリガーされた workflow には渡されず、ログでは自動的にマスクされます。fork からの pull_request イベントでは ${{ }} で利用できないため、悪意のある PR による secret の流出を防ぎます。
関連ガイド
GITHUB_TOKEN - CI/CD Glossary DefinitionGITHUB_TOKEN: GITHUB_TOKEN is the short-lived access token GitHub Actions creates automatically for each work…
Secret - CI/CD Glossary DefinitionSecret: A **secret** is an encrypted value (token, key) stored by GitHub and injected into workflows without…
Workflow Permissions - CI/CD Glossary DefinitionWorkflow Permissions: Workflow permissions are the access scopes granted to the automatic `GITHUB_TOKEN`, set…