update openim environment and status

Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
pull/1696/head
Xinwei Xiong (cubxxw) 2 years ago
parent 4a0773cf74
commit 2009a0dcee

@ -139,10 +139,18 @@ jobs:
run: |
sudo docker images > docker_images.txt
sudo docker ps > docker_containers.txt
IMAGES=$(cat docker_images.txt)
CONTAINERS=$(cat docker_containers.txt)
echo "::set-output name=images::$IMAGES"
echo "::set-output name=containers::$CONTAINERS"
- name: Comment PR with message
uses: ./
id: nrt_message
with:
message: |
Current branch is `${{ github.head_ref }}`.
_(execution **${{ github.run_id }}** / attempt **${{ github.run_attempt }}**)_
comment_tag: nrt_message
reactions: eyes, rocket
mode: recreate
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
- name: Comment PR
uses: thollander/actions-comment-pull-request@v2
@ -150,11 +158,11 @@ jobs:
message: |
### Docker Images:
```
${{ steps.docker_info.outputs.images }}
${{ readFile('docker_images.txt') }}
```
### Docker Processes:
```
${{ steps.docker_info.outputs.containers }}
${{ readFile('docker_containers.txt') }}
```
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}

Loading…
Cancel
Save