Event Payload - CI/CD用語集の定義
event payload とは、workflow をトリガーしたイベントを記述する JSON で、${{ github.event }} として、また $GITHUB_EVENT_PATH のパスにあるディスク上のファイルとして利用できます。
含まれる内容
pull_request イベントでは、github.event.pull_request.number、head と base の ref、および label が含まれます。push では、commit と before/after の SHA が含まれます。payload を読むことで、step は実際に起きたことの詳細に応じて動作を変えられます。
関連ガイド
Context Expression - CI/CD Glossary DefinitionContext Expression: A context expression is a `${{ ... }}` template in a workflow that reads from contexts li…
Workflow Run - CI/CD Glossary DefinitionWorkflow Run: A workflow run is a single execution instance of a workflow, created when a trigger fires, with…
Repository Dispatch - CI/CD Glossary DefinitionRepository Dispatch: Repository dispatch is the `repository_dispatch` trigger that starts a workflow in respo…