|
|
@ -137,12 +137,20 @@ jobs:
|
|
|
|
- name: Check the OpenIM environment and status
|
|
|
|
- name: Check the OpenIM environment and status
|
|
|
|
id: docker_info
|
|
|
|
id: docker_info
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
sudo docker images > docker_images.txt
|
|
|
|
sudo docker images > docker_images.txt
|
|
|
|
sudo docker ps > docker_containers.txt
|
|
|
|
sudo docker ps > docker_containers.txt
|
|
|
|
IMAGES=$(cat docker_images.txt)
|
|
|
|
|
|
|
|
CONTAINERS=$(cat docker_containers.txt)
|
|
|
|
- name: Comment PR with message
|
|
|
|
echo "::set-output name=images::$IMAGES"
|
|
|
|
uses: ./
|
|
|
|
echo "::set-output name=containers::$CONTAINERS"
|
|
|
|
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
|
|
|
|
- name: Comment PR
|
|
|
|
uses: thollander/actions-comment-pull-request@v2
|
|
|
|
uses: thollander/actions-comment-pull-request@v2
|
|
|
@ -150,11 +158,11 @@ jobs:
|
|
|
|
message: |
|
|
|
|
message: |
|
|
|
|
### Docker Images:
|
|
|
|
### Docker Images:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
${{ steps.docker_info.outputs.images }}
|
|
|
|
${{ readFile('docker_images.txt') }}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
### Docker Processes:
|
|
|
|
### Docker Processes:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
${{ steps.docker_info.outputs.containers }}
|
|
|
|
${{ readFile('docker_containers.txt') }}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
|
|
|
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
|
|
|
|