diff --git a/.github/workflows/openimci.yml b/.github/workflows/openimci.yml index c1ed6e460..d376d9840 100644 --- a/.github/workflows/openimci.yml +++ b/.github/workflows/openimci.yml @@ -137,12 +137,20 @@ jobs: - name: Check the OpenIM environment and status id: docker_info 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" + sudo docker images > docker_images.txt + sudo docker ps > docker_containers.txt + + - 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 }}