From e16df50b5e129980727be56fe28694e8315f8c95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Sun, 23 May 2021 20:31:05 +0200 Subject: [PATCH] try tmp --- .github/workflows/codingstyle.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codingstyle.yml b/.github/workflows/codingstyle.yml index 24ef3b07..48f67b37 100644 --- a/.github/workflows/codingstyle.yml +++ b/.github/workflows/codingstyle.yml @@ -10,10 +10,10 @@ jobs: run: pip install cpplint - name: Check coding style run: | - cpplint --recursive --quiet --verbose=3 . + cpplint --recursive --quiet --verbose=3 . 2> tmp - name: Comment PR - if: ${{ failure() }} + if: ${{ failure() && github.event_name == 'pull_request' }} uses: thollander/actions-comment-pull-request@master with: - message: 'Example of message !' + message: ${{ cat tmp }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file