diff --git a/.github/workflows/comment-and-close.yml b/.github/workflows/comment-and-close.yml index 6edcddd0..a8ddd038 100644 --- a/.github/workflows/comment-and-close.yml +++ b/.github/workflows/comment-and-close.yml @@ -7,6 +7,6 @@ on: jobs: comment-and-close: uses: dhis2/workflows-platform/.github/workflows/comment-and-close.yml@v1 - if: '!contains(github.event.issue.sender.login , fromJson(''["dhis2-bot", "kodiakhq", "dependabot"]''))' + if: '!contains(fromJson(''["dhis2-bot", "kodiakhq", "dependabot"]''), github.event.issue.sender.login)' with: issue_number: ${{ github.event.issue.number }}