From 50040e8493b1e0c68f4f8c27b86e2bc7397f6670 Mon Sep 17 00:00:00 2001 From: Suhong Qin Date: Wed, 19 Jul 2023 23:23:13 +0000 Subject: [PATCH] fix syntax --- .github/workflows/test_handle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_handle.yml b/.github/workflows/test_handle.yml index 0947a18..a478bad 100644 --- a/.github/workflows/test_handle.yml +++ b/.github/workflows/test_handle.yml @@ -205,7 +205,7 @@ jobs: } - name: 'Tool Request Comment' - if: '${{ always() && (steps.handle_tool.outcome == ''success'' || steps.handle_tool.outcome == ''failure'') }}' + if: '${{ always() && hashFiles(''tool.yaml'') != '''' }}' uses: 'actions/github-script@98814c53be79b1d30f795b907e553d8679345975' # ratchet:actions/github-script@v6 with: github-token: '${{ github.token }}' @@ -273,7 +273,7 @@ jobs: } - name: 'Request Not Found Comment' - if: '${{ hashFiles(''iam.yaml'', ''tool.yaml'') == '''' }}' + if: '${{ always() && hashFiles(''iam.yaml'', ''tool.yaml'') == '''' }}' uses: 'actions/github-script@98814c53be79b1d30f795b907e553d8679345975' # ratchet:actions/github-script@v6 with: github-token: '${{ github.token }}'