mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-12-02 15:45:30 +09:00
docs: add Template variable
This commit is contained in:
1 parent
cc178efb9f
commit
27dde9c826
1 file changed
+14
@@ -107,3 +107,17 @@ See the result: (get chat id like `65382999`)
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Template variable
|
||||||
|
|
||||||
|
| Github Variable | Telegram Temaplte Variable |
|
||||||
|
|-------------------|----------------------------|
|
||||||
|
| GITHUB_REPOSITORY | repo |
|
||||||
|
| GITHUB_ACTOR | repo.namespace |
|
||||||
|
| GITHUB_SHA | commit.sha |
|
||||||
|
| GITHUB_REF | commit.ref |
|
||||||
|
| GITHUB_WORKFLOW | github.workflow |
|
||||||
|
| GITHUB_ACTION | github.action |
|
||||||
|
| GITHUB_EVENT_NAME | github.event.name |
|
||||||
|
| GITHUB_EVENT_PATH | github.event.path |
|
||||||
|
| GITHUB_WORKSPACE | github.workspace |
|
||||||
Reference in new issue
Block a user