Skip to content

Commit 88d5e41

Browse files
committed
Fix branch references in GitHub actions
1 parent 20f2a03 commit 88d5e41

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ name: Node.js CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
paths-ignore:
88
- 'README.md'
99
- 'mock/README.md'
1010
pull_request:
1111
branches:
12-
- master
12+
- main
1313
paths-ignore:
1414
- 'README.md'
1515
- 'mock/README.md'
1616

1717
jobs:
1818
build:
1919
if: >
20-
(github.event_name == 'push' && github.ref == 'refs/heads/master') ||
20+
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
2121
(github.event_name == 'pull_request')
2222
2323
runs-on: ubuntu-latest

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Pull requests are _the_ way to propose changes to the codebase (we
1111
use [GitHub flow](https://docs.github.com/en/get-started/quickstart/github-flow)). We actively welcome your pull
1212
requests:
1313

14-
1. Fork the repo and create your branch from `master`.
14+
1. Fork the repo and create your branch from `main`.
1515
2. If you've added code that should be tested, add tests.
1616
3. If you've changed APIs, update the documentation.
1717
4. Ensure the test suite passes.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Two headers are added to the response:
202202

203203
</details>
204204

205-
See the references of [OpenAPI Backend](https://github.com/anttiviljami/openapi-backend/blob/master/DOCS.md)
205+
See the references of [OpenAPI Backend](https://github.com/anttiviljami/openapi-backend/blob/main/DOCS.md)
206206
and [Ajv](https://ajv.js.org/) for more information.
207207

208208
When the `--silent` is provided, the proxy will forward the server's response body without modification. In this case,

docker/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Place the proxy between a client (e.g. a frontend app) and a web server to catch
88
development.
99

1010
<p align="center">
11-
<img src="https://raw.githubusercontent.com/EXXETA/openapi-cop/master/docs/resources/diagram.png" alt="Proxy Diagram" width="571.5">
11+
<img src="https://raw.githubusercontent.com/EXXETA/openapi-cop/main/docs/resources/diagram.png" alt="Proxy Diagram" width="571.5">
1212
</p>
1313

1414
The proxy validates the requests and responses in the communication with a target server. By default, the proxy will
@@ -53,4 +53,4 @@ as `curl http://my-target-server:1234/baseApi/v1/some-target-endpoint` but with
5353

5454
## License
5555

56-
See https://github.com/EXXETA/openapi-cop/blob/master/LICENSE.
56+
See https://github.com/EXXETA/openapi-cop/blob/main/LICENSE.

0 commit comments

Comments
 (0)