mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-05-14 02:42:44 +00:00
@@ -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