Skip to content

E2EMatrixTrigger

E2EMatrixTrigger #570

name: E2EMatrixTrigger
on:
workflow_dispatch:
inputs:
location:
type: string
description: "the azure location to run the e2e test in"
default: "eastus"
push:
branches: [main]
workflow_run:
workflows: [ApprovalComment]
types: [completed]
permissions:
contents: read
jobs:
resolve:
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
uses: ./.github/workflows/resolve-args.yaml
e2e-matrix:

Check failure on line 22 in .github/workflows/e2e-matrix-trigger.yaml

View workflow run for this annotation

GitHub Actions / E2EMatrixTrigger

Invalid workflow file

The workflow is not valid. .github/workflows/e2e-matrix-trigger.yaml (Line: 22, Col: 3): Error calling workflow 'Azure/karpenter-provider-azure/.github/workflows/e2e-matrix.yaml@31b0dfcddfefc94d3d2e26eafa4e7a4cabfcf7a7'. The workflow is requesting 'contents: read', but is only allowed 'contents: none'.
permissions:
id-token: write # This is required for requesting the JWT
statuses: write # ./.github/actions/commit-status/*
needs: [resolve]
uses: ./.github/workflows/e2e-matrix.yaml
with:
git_ref: ${{ needs.resolve.outputs.GIT_REF }}
location: ${{ inputs.location || 'eastus' }}
secrets:
E2E_CLIENT_ID: ${{ secrets.E2E_CLIENT_ID }}
E2E_TENANT_ID: ${{ secrets.E2E_TENANT_ID }}
E2E_SUBSCRIPTION_ID: ${{ secrets.E2E_SUBSCRIPTION_ID }}