Skip to content

Commit 4b764c8

Browse files
authored
Merge pull request #95 from yangcao77/update-ci
update the ci to run test for pr against main branch
2 parents a718dc7 + 33c1bb9 commit 4b764c8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/go.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Validate PRs
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88

99
jobs:
1010

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
## About
99

1010
The Devfile Parser library is a Golang module that:
11-
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).
11+
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).
1212
2. writes to the devfile.yaml with the updated data.
1313
3. generates Kubernetes objects for the various devfile resources.
1414
4. defines util functions for the devfile.

tests/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The tests which generate devfiles with random content at run time currently cove
3737
* From this repository
3838
- `tests/v2/libraryTest/library-test.go`: The go unit test program
3939
- `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.
40-
* From the [api respository](https://github.com/devfile/api/tree/master/test/v200/utils/common)
40+
* From the [api respository](https://github.com/devfile/api/tree/main/test/v200/utils/common)
4141
- `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.
4242

4343
## Running the tests locally

0 commit comments

Comments
 (0)