CI: run gnucomment also if pipeline fails
-name: Comment on GNU test results on the PR
+name: GnuComment
-# read-write repo token
-# access to secrets
on:
workflow_run:
workflows: ["GnuTests"]
@@ -9,11 +7,10 @@ on:
- completed
jobs:
- upload:
+ post-comment:
runs-on: ubuntu-latest
if: >
- github.event.workflow_run.event == 'pull_request' &&
- github.event.workflow_run.conclusion == 'success'
+ github.event.workflow_run.event == 'pull_request'
steps:
- name: 'Download artifact'
uses: actions/github-script@v3.1.0
