From 33c1bb99e17ad0adbadec5ea4eda9d61384a7496 Mon Sep 17 00:00:00 2001 From: Stephanie Date: Wed, 9 Jun 2021 13:59:34 -0400 Subject: [PATCH] update the ci to run test for pr against main branch Signed-off-by: Stephanie --- .github/workflows/go.yml | 4 ++-- README.md | 2 +- tests/README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 43f74675..6f0a7632 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,9 +2,9 @@ name: Validate PRs on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: diff --git a/README.md b/README.md index 646de177..6d365edb 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## About The Devfile Parser library is a Golang module that: -1. parses the devfile.yaml as specified by the [api](https://devfile.github.io/devfile/api-reference.html) & [schema](https://github.com/devfile/api/tree/master/schemas/latest). +1. parses the devfile.yaml as specified by the [api](https://devfile.github.io/devfile/api-reference.html) & [schema](https://github.com/devfile/api/tree/main/schemas/latest). 2. writes to the devfile.yaml with the updated data. 3. generates Kubernetes objects for the various devfile resources. 4. defines util functions for the devfile. diff --git a/tests/README.md b/tests/README.md index a9da968a..59656a7f 100644 --- a/tests/README.md +++ b/tests/README.md @@ -37,7 +37,7 @@ The tests which generate devfiles with random content at run time currently cove * From this repository - `tests/v2/libraryTest/library-test.go`: The go unit test program - `tests/v2/utils/library/*-utils.go` : utilites, used by the test, which contain functions uniqiue to the library tests. Mostly contain the code to modify and check devfile content. -* From the [api respository](https://github.com/devfile/api/tree/master/test/v200/utils/common) +* From the [api respository](https://github.com/devfile/api/tree/main/test/v200/utils/common) - `tests/v200/utils/common/*-utils.go` : utilites, used by the test, which are also used by the api tests. Mostly contain the code to generate valid devfile content. ## Running the tests locally