From c96ec046615475e8ecd60e54642cac2b9df93063 Mon Sep 17 00:00:00 2001 From: jprochazk <1665677+jprochazk@users.noreply.github.com> Date: Fri, 12 Apr 2024 12:07:44 +0200 Subject: [PATCH] notify after trigger --- .github/workflows/on_pr_comment.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/on_pr_comment.yml b/.github/workflows/on_pr_comment.yml index 98b24c9ae551..d6f8b22f3197 100644 --- a/.github/workflows/on_pr_comment.yml +++ b/.github/workflows/on_pr_comment.yml @@ -25,3 +25,17 @@ jobs: needs: [parse-command] if: needs.parse-command.outputs.command == 'full-check' uses: ./.github/workflows/on_push_main.yml + + notify-pr: + needs: [parse-command] + if: needs.parse-command.outputs.command == 'full-check' + runs-on: ubuntu-latest + steps: + - name: Create PR comment + # https://github.com/mshick/add-pr-comment + uses: mshick/add-pr-comment@v2.8.2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + message-id: "pr-${{ github.event.issue.number }}-${{ github.run_id }}" + message: | + Started a full build: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}