Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erguotou520/instant-access-action
Instant access for github actions(即时达微信通知的github action)
https://github.com/erguotou520/instant-access-action
actions notification wechat
Last synced: 16 days ago
JSON representation
Instant access for github actions(即时达微信通知的github action)
- Host: GitHub
- URL: https://github.com/erguotou520/instant-access-action
- Owner: erguotou520
- Created: 2020-05-13T05:53:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T05:36:08.000Z (over 1 year ago)
- Last Synced: 2024-10-14T09:13:00.477Z (about 1 month ago)
- Topics: actions, notification, wechat
- Language: JavaScript
- Homepage:
- Size: 1.02 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instant access(即时达推送) action
![.github/workflows/main.yml](https://github.com/erguotou520/instant-access-action/workflows/.github/workflows/main.yml/badge.svg?branch=v1)
Use this action to push wechat message to youself or share message with channel.
使用该 action 来推送消息到你的微信上。## Inputs
### `channel`
**Required** Instant access message channel. 通道 key
### `head`
**Required** Instant access message head. 消息头
### `body`
**Required** Instant access message body. 消息内容
## Outputs
### `time`
The time we send the request. 接口请求完成时间(不保证一定是微信消息到达时间)
## Example usage
```yml
uses: erguotou520/instant-access-action@v1
with:
channel: "d255d62caef24a3bb66c3465dad70407"
head: "Test message"
body: "Test content"
```Or you can use interpolation message
```yml
uses: erguotou520/instant-access-action@v1
with:
channel: "d255d62caef24a3bb66c3465dad70407"
head: "{{repositoryName}} push status"
body: '{{author}} commit "{{commitMessage}}" on {{repositoryName}}#{{branchName}} branch at {{commitTime}} with hash {{commitHash}}'
```