diff --git a/.github/workflows/comment-and-close.yml b/.github/workflows/comment-and-close.yml index d5acbf2b..c97daab0 100644 --- a/.github/workflows/comment-and-close.yml +++ b/.github/workflows/comment-and-close.yml @@ -5,4 +5,4 @@ on: jobs: comment-and-close: uses: dhis2/workflows-test/.github/workflows/comment-and-close.yml@main - if: !contains(github.event.issues.sender.login , fromJson('["dhis2-bot", "kodiakhq", "dependabot"]')) + if: '!contains(github.event.issues.sender.login, fromJson('["dhis2-bot", "kodiakhq", "dependabot"]'))' diff --git a/.github/workflows/deploy-pr.yml b/.github/workflows/deploy-pr.yml index 46132fcd..52580080 100644 --- a/.github/workflows/deploy-pr.yml +++ b/.github/workflows/deploy-pr.yml @@ -10,5 +10,5 @@ concurrency: jobs: deploy: uses: dhis2/workflows-test/.github/workflows/deploy-pr.yml@main - if: '!github.event.pull_request.repository.fork' + if: '!github.event.pull_request.head.repo.fork' secrets: inherit