Skip to content

Use OIDC for e2e tests #179

Use OIDC for e2e tests

Use OIDC for e2e tests #179

Workflow file for this run

---
name: test examples
on:
pull_request:
types: ['opened', 'reopened', 'synchronize']
merge_group:
workflow_dispatch:
jobs:
check:
if: github.event.pull_request.head.repo.fork == true
runs-on: ubuntu-latest
steps:
- name: Checking for Fork
shell: pwsh
run: |
$isFork = $${{ github.event.pull_request.head.repo.fork }}
if($isFork) {
echo "### WARNING: This workflow is disabled for forked repositories. Please follow the release branch process if end to end tests are required." >> $GITHUB_STEP_SUMMARY
}
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

Check failure on line 24 in .github/workflows/e2e.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/e2e.yml

Invalid workflow file

error parsing called workflow ".github/workflows/e2e.yml" -> "Azure/terraform-azurerm-avm-template/.github/workflows/test-examples-template.yml@main" : failed to fetch workflow: workflow was not found.
name: end to end
permissions:
id-token: write
contents: read