Context Expression - CI/CD 用語集の定義
context expression とは、workflow 内の ${{ ... }} テンプレートで、github、env、matrix、steps、needs、inputs、secrets などの context から読み取って値を注入したり条件を評価したりします。
よくある context
github.sha は commit、github.ref は branch またはタグの ref、github.event_name はトリガーです。expression は演算子や関数もサポートするため、if: ${{ github.ref == 'refs/heads/main' }} は step を main branch に限定します。
関連ガイド
Conditional Step - CI/CD Glossary DefinitionConditional Step: A conditional step is a job step (or job) with an `if:` expression that decides at runtime…
Event Payload - CI/CD Glossary DefinitionEvent Payload: An event payload is the JSON describing the event that triggered a workflow, available as `${{…
Step Output - CI/CD Glossary DefinitionStep Output: A step output is a named value one step produces by writing `name=value` to the `$GITHUB_OUTPUT`…