From ef51d28463e28e7feaf45b58d435c0d4e28a0d46 Mon Sep 17 00:00:00 2001 From: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com> Date: Wed, 26 Feb 2020 18:52:55 +0100 Subject: [PATCH] chore: GitHub Actions bot comment on PR to find artifacts faster (#707) Signed-off-by: Paulchen-Panther --- .github/workflows/pull-request.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3d329b86..baebe645 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -6,6 +6,23 @@ on: jobs: +########################################### +###### GitHub Actions bot comment ######### +########################################### + + comment_pr: + runs-on: ubuntu-latest + name: GitHub Actions bot comment + steps: + - name: Checkout + uses: actions/checkout@v1 + + - name: Comment on PR + uses: thollander/actions-comment-pull-request@master + with: + message: "PR Artifacts on: [GitHub Actions](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ###################### ###### Linux ######### ###################### @@ -34,7 +51,8 @@ jobs: platform: amlogic steps: - - uses: actions/checkout@v1 + - name: Checkout + uses: actions/checkout@v1 with: submodules: true @@ -74,7 +92,8 @@ jobs: name: macOS runs-on: macos-latest steps: - - uses: actions/checkout@v1 + - name: Checkout + uses: actions/checkout@v1 with: submodules: true