From 977f791edb11643b24e99968366cb8a548b6b3bb Mon Sep 17 00:00:00 2001 From: Elizabeth Perl Date: Fri, 16 Aug 2024 13:29:12 -0400 Subject: [PATCH] try removing if push or pr statements from add artifact (#248) Try to get the action working again --- .github/workflows/add-artifact-to-pr.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/add-artifact-to-pr.yml b/.github/workflows/add-artifact-to-pr.yml index 6f21aa05..c94e47e1 100644 --- a/.github/workflows/add-artifact-to-pr.yml +++ b/.github/workflows/add-artifact-to-pr.yml @@ -3,12 +3,13 @@ on: workflow_run: workflows: [build html version of the ss3 user manual, Build SS3 user manual using texlive] types: [completed] + workflow_dispatch: jobs: artifacts-url-comments: name: add artifact links to pull request and related issues job runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' && (github.event_name == 'pull_request' || github.event_name == 'push')}} + if: ${{ github.event.workflow_run.conclusion == 'success'}} steps: - name: add artifact links to PR and issues uses: tonyhallett/artifacts-url-comments@v1.1.0