Skip to content

Commit

Permalink
Fix branch references in GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LexLuengas committed Nov 11, 2022
1 parent 20f2a03 commit 88d5e41
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ name: Node.js CI
on:
push:
branches:
- master
- main
paths-ignore:
- 'README.md'
- 'mock/README.md'
pull_request:
branches:
- master
- main
paths-ignore:
- 'README.md'
- 'mock/README.md'

jobs:
build:
if: >
(github.event_name == 'push' && github.ref == 'refs/heads/master') ||
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
(github.event_name == 'pull_request')
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Pull requests are _the_ way to propose changes to the codebase (we
use [GitHub flow](https://docs.github.com/en/get-started/quickstart/github-flow)). We actively welcome your pull
requests:

1. Fork the repo and create your branch from `master`.
1. Fork the repo and create your branch from `main`.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Two headers are added to the response:

</details>

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

When the `--silent` is provided, the proxy will forward the server's response body without modification. In this case,
Expand Down
4 changes: 2 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Place the proxy between a client (e.g. a frontend app) and a web server to catch
development.

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

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

## License

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

0 comments on commit 88d5e41

Please sign in to comment.