Skip to content

Commit

Permalink
Check for fork logic outside of PR (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredfholgate committed Sep 13, 2024
1 parent 4a37a1f commit d8d44aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d8d44aa

Please sign in to comment.