Skip to content

Commit

Permalink
Add warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredfholgate committed Sep 13, 2024
1 parent 6d7337c commit bd7ffa6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
workflow_dispatch:

jobs:
warning:
if: github.event.pull_request.head.repo.fork == true
runs-on: ubuntu-latest
steps:
- name: Warning - Cannot run from fork
shell: bash
run: |
echo "WARNING: This workflow cannot be run from a Fork. Please follow the release branch process if you need to run end to end tests."
run-e2e-tests:
if: github.event.repository.name != 'terraform-azurerm-avm-template' && github.event.pull_request.head.repo.fork == false
uses: Azure/terraform-azurerm-avm-template/.github/workflows/test-examples-template.yml@main
Expand Down

0 comments on commit bd7ffa6

Please sign in to comment.