diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index bcc5c3f..7724649 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -13,8 +13,8 @@ - name: Checking for Fork shell: pwsh run: | - $isFork = $${{ github.event.pull_request.head.repo.fork }} - if($isFork) { + $isFork = "${{ github.event.pull_request.head.repo.fork }}" + if($isFork -eq "true") { echo "### WARNING: This workflow is disabled for forked repositories. Please follow the [release branch process](https://azure.github.io/Azure-Verified-Modules/contributing/terraform/terraform-contribution-flow/#5-create-a-pull-request-to-the-upstream-repository) if end to end tests are required." >> $env:GITHUB_STEP_SUMMARY }