From b4a0fd1e9f7a4c2db4803555e3e9594c22735088 Mon Sep 17 00:00:00 2001 From: frostedoyster Date: Fri, 20 Sep 2024 21:17:30 +0200 Subject: [PATCH] Comment artifact? --- .github/workflows/comment-docs-download.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/comment-docs-download.yml b/.github/workflows/comment-docs-download.yml index 09578965..9793636d 100644 --- a/.github/workflows/comment-docs-download.yml +++ b/.github/workflows/comment-docs-download.yml @@ -1,12 +1,15 @@ name: Comment on pull request + on: + pull_request: + types: [synchronize, opened] # Triggers on push to the PR or when a PR is opened workflow_run: workflows: ['Documentation'] types: [completed] jobs: pr_comment: - if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' + if: github.event_name == 'pull_request' || (github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success') runs-on: ubuntu-latest steps: - uses: actions/github-script@v7