Matrix jobs workflow path update (#2349)

This commit is contained in:
Ava Stancu 2023-03-01 23:10:34 +01:00 committed by GitHub
parent a4751b74e0
commit 0c091f59b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -95,8 +95,8 @@ func TestARCJobs(t *testing.T) {
dateTime := os.Getenv("DATE_TIME")
// We are triggering manually a workflow that already exists in the repo.
// This workflow is expected to spin up a number of runner pods matching the runners value set in podCountsByType.
url := "https://api.github.com/repos/actions/actions-runner-controller/actions/workflows/e2e-test-dispatch-workflow.yaml/dispatches"
jsonStr := []byte(fmt.Sprintf(`{"ref":"master", "inputs":{"date_time":"%s"}}`, dateTime))
url := "https://api.github.com/repos/actions-runner-controller/arc_e2e_test_dummy/actions/workflows/e2e-test-dispatch-workflow.yaml/dispatches"
jsonStr := []byte(fmt.Sprintf(`{"ref":"main", "inputs":{"date_time":"%s"}}`, dateTime))
req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonStr))
if err != nil {