Skip to content

Commit

Permalink
chore: use main as default (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r committed Sep 16, 2022
1 parent 1cce5fa commit 400aa85
Show file tree
Hide file tree
Showing 55 changed files with 114 additions and 114 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
@@ -1,11 +1,11 @@
# name of the action
name: publish

# trigger on push to master
# trigger on push to main
on:
push:
branches:
- master
- main

# pipeline to execute
jobs:
Expand Down
2 changes: 1 addition & 1 deletion config.toml
Expand Up @@ -49,7 +49,7 @@ anchor = "smart"

[params]
copyright = "Target Brands"
privacy_policy = "https://github.com/go-vela/server/blob/master/LICENSE"
privacy_policy = "https://github.com/go-vela/server/blob/main/LICENSE"

# First one is picked as the Twitter card image if not set on page.
# images = ["images/project-illustration.png"]
Expand Down
12 changes: 6 additions & 6 deletions content/community/contributing_guidelines/_index.md
Expand Up @@ -70,9 +70,9 @@ Vela is written in a modular format which creates a dependency tree. The ui is i

### Proposals

[Proposals](https://github.com/go-vela/community/tree/master/proposals) are used to foster discussion around large or breaking feature requests, or when looking for feedback on varied implementation options. Check that an [issue](https://github.com/go-vela/community/issues) or [proposal](https://github.com/go-vela/community/tree/master/proposals) doesn’t exist already.
[Proposals](https://github.com/go-vela/community/tree/main/proposals) are used to foster discussion around large or breaking feature requests, or when looking for feedback on varied implementation options. Check that an [issue](https://github.com/go-vela/community/issues) or [proposal](https://github.com/go-vela/community/tree/main/proposals) doesn’t exist already.

Create a pull request using the [proposal template](https://github.com/go-vela/community/blob/master/.github/PULL_REQUEST_TEMPLATE/proposal.md).
Create a pull request using the [proposal template](https://github.com/go-vela/community/blob/main/.github/PULL_REQUEST_TEMPLATE/proposal.md).

Anyone is welcome to weigh in on a proposal. If you’d like, link it in the [public #vela Slack channel](https://gophers.slack.com/app_redirect?channel=CNRRKE8KY) for more visibility.

Expand All @@ -81,11 +81,11 @@ There isn’t a clearly defined proposal process yet (we’re working on that).
## Lifecycle of a Contribution

{{% alert title="Note:" color="warning" %}}
Make sure an [issue](https://github.com/go-vela/community/issues) or [proposal](https://github.com/go-vela/community/tree/master/proposals) in the [go-vela/community](https://github.com/go-vela/community) repository exists prior to beginning any code changes.
Make sure an [issue](https://github.com/go-vela/community/issues) or [proposal](https://github.com/go-vela/community/tree/main/proposals) in the [go-vela/community](https://github.com/go-vela/community) repository exists prior to beginning any code changes.
{{% /alert %}}

### Determining appropriateness for Vela
Before contributing any code, make sure an [issue](/docs/community/contributing_guidelines/#issues) exists, be sure to checkout current [issues](https://github.com/go-vela/community/issues) and [proposals](https://github.com/go-vela/community/tree/master/proposals) to make sure your idea isn’t already being worked on. We're working on a public roadmap view to link here.
Before contributing any code, make sure an [issue](/docs/community/contributing_guidelines/#issues) exists, be sure to checkout current [issues](https://github.com/go-vela/community/issues) and [proposals](https://github.com/go-vela/community/tree/main/proposals) to make sure your idea isn’t already being worked on. We're working on a public roadmap view to link here.

If an issue does not exist, make sure to create one.

Expand Down Expand Up @@ -155,7 +155,7 @@ Currently, main releases only apply to [core repos](/docs/community/contributing
- [Enhancements](/docs/community/contributing_guidelines/#issues) will be considered on a case-by-case basis by admins.
- [Bugs](/docs/community/contributing_guidelines/#issues) and security fixes can be included.
- Non-breaking dependency updates can be included.
- **Release Notes:** You can find a list of release notes in the [community repository](https://github.com/go-vela/community/tree/master/releases).
- **Release Notes:** You can find a list of release notes in the [community repository](https://github.com/go-vela/community/tree/main/releases).

## Style Guide
As you contribute to Vela, we ask that you follow these style guides to keep the code clean and consistent.
Expand Down Expand Up @@ -203,5 +203,5 @@ Because Vela is an open source tool, anyone can contribute! We have our admins a
If you have a question about contributing to Vela, the above guidelines, or Vela in general, please reach out to the Vela team!
- [#vela](https://gophers.slack.com/app_redirect?channel=CNRRKE8KY) Slack channel
- Email us at [vela@target.com](mailto:vela@target.com)
- [Support resources](https://github.com/go-vela/ui/blob/master/.github/SUPPORT.md)
- [Support resources](https://github.com/go-vela/ui/blob/main/.github/SUPPORT.md)
- Open an [issue](https://github.com/go-vela/community/issues/new/choose)
2 changes: 1 addition & 1 deletion content/plugins/registry/_index.md
Expand Up @@ -6,7 +6,7 @@ description: >
---

{{% alert title="Note:" color="primary" %}}
Plugin documentation is rendered directly from their source reposiories `DOCS.md` file on the master branch. If you seek documentation for a specific version please go directly to the plugin repository.
Plugin documentation is rendered directly from their source reposiories `DOCS.md` file on the main branch. If you seek documentation for a specific version please go directly to the plugin repository.

* [Pipeline plugins](https://github.com/go-vela?q=plugin&type=&language=) - pattern within go-vela org `vela-` prefixed repositories
* [Secret plugins](https://github.com/go-vela?q=secret&type=&language=) - pattern within go-vela org `secret-` prefixed repositories
Expand Down
2 changes: 1 addition & 1 deletion content/plugins/tutorials/_index.md
Expand Up @@ -5,7 +5,7 @@ description: >
Learn how to write your own pipeline plugin for Vela.
---

An example of these tutorials exist in our [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/master/plugins) repository.
An example of these tutorials exist in our [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/main/plugins) repository.

{{% alert color="warning" %}}
We recommend reviewing [Docker's best practices](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/) before attempting to create a custom plugin.
Expand Down
2 changes: 1 addition & 1 deletion content/plugins/tutorials/bash.md
Expand Up @@ -43,7 +43,7 @@ curl \
```

{{% alert color="info" %}}
An example of this code is provided in the [bash section](https://github.com/go-vela/vela-tutorials/tree/master/plugins/bash) of the [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/master/plugins) repository.
An example of this code is provided in the [bash section](https://github.com/go-vela/vela-tutorials/tree/main/plugins/bash) of the [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/main/plugins) repository.
{{% /alert %}}

## Image
Expand Down
2 changes: 1 addition & 1 deletion content/plugins/tutorials/go.md
Expand Up @@ -64,7 +64,7 @@ func main() {
```

{{% alert color="info" %}}
An example of this code is provided in the [go section](https://github.com/go-vela/vela-tutorials/tree/master/plugins/go) of the [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/master/plugins) repository.
An example of this code is provided in the [go section](https://github.com/go-vela/vela-tutorials/tree/main/plugins/go) of the [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/main/plugins) repository.
{{% /alert %}}

## Executable
Expand Down
2 changes: 1 addition & 1 deletion content/plugins/tutorials/node.md
Expand Up @@ -60,7 +60,7 @@ req.end();
```

{{% alert color="info" %}}
An example of this code is provided in the [node.js section](https://github.com/go-vela/vela-tutorials/tree/master/plugins/node.js) of the [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/master/plugins) repository.
An example of this code is provided in the [node.js section](https://github.com/go-vela/vela-tutorials/tree/main/plugins/node.js) of the [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/main/plugins) repository.
{{% /alert %}}

## Image
Expand Down
2 changes: 1 addition & 1 deletion content/plugins/tutorials/python.md
Expand Up @@ -57,7 +57,7 @@ print(response.read().decode("utf-8"))
```

{{% alert color="info" %}}
An example of this code is provided in the [python section](https://github.com/go-vela/vela-tutorials/tree/master/plugins/python) of the [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/master/plugins) repository.
An example of this code is provided in the [python section](https://github.com/go-vela/vela-tutorials/tree/main/plugins/python) of the [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/main/plugins) repository.
{{% /alert %}}

## Image
Expand Down
2 changes: 1 addition & 1 deletion content/plugins/tutorials/ruby.md
Expand Up @@ -56,7 +56,7 @@ puts response.read_body
```

{{% alert color="info" %}}
An example of this code is provided in the [ruby section](https://github.com/go-vela/vela-tutorials/tree/master/plugins/ruby) of the [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/master/plugins) repository.
An example of this code is provided in the [ruby section](https://github.com/go-vela/vela-tutorials/tree/main/plugins/ruby) of the [go-vela/vela-tutorials](https://github.com/go-vela/vela-tutorials/tree/main/plugins) repository.
{{% /alert %}}

## Image
Expand Down
8 changes: 4 additions & 4 deletions content/reference/api/admin/build.md
Expand Up @@ -63,8 +63,8 @@ curl \
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"sender": "OctoKitty",
"author": "OctoKitty",
"branch": "master",
"ref": "refs/heads/master",
"branch": "main",
"ref": "refs/heads/main",
"base_ref": "",
"host": "ed95dcc0687c",
"runtime": "",
Expand All @@ -90,8 +90,8 @@ curl \
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"sender": "OctoKitty",
"author": "OctoKitty",
"branch": "master",
"ref": "refs/heads/master",
"branch": "main",
"ref": "refs/heads/main",
"base_ref": "",
"host": "82823eb770b0",
"runtime": "",
Expand Down
4 changes: 2 additions & 2 deletions content/reference/api/admin/hook.md
Expand Up @@ -52,7 +52,7 @@ curl \
"created": "1563474076",
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": ""
Expand All @@ -66,7 +66,7 @@ curl \
"created": "1563474076",
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": ""
Expand Down
4 changes: 2 additions & 2 deletions content/reference/api/admin/repo.md
Expand Up @@ -51,7 +51,7 @@ curl \
"full_name": "github/octocat",
"link": "https://github.com/github/octocat",
"clone": "https://github.com/github/octocat.git",
"branch": "master",
"branch": "main",
"timeout": 60,
"visibility": "public",
"private": false,
Expand All @@ -71,7 +71,7 @@ curl \
"full_name": "github/octokitty",
"link": "https://github.com/github/octokitty",
"clone": "https://github.com/github/octokitty.git",
"branch": "master",
"branch": "main",
"timeout": 60,
"visibility": "public",
"private": false,
Expand Down
8 changes: 4 additions & 4 deletions content/reference/api/build/add.md
Expand Up @@ -44,12 +44,12 @@ To authenticate to the API, please review the [authentication documentation](/do
```json
{
"author": "Octokitty",
"branch": "master",
"branch": "main",
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"clone": "https://github.com/github/octocat.git",
"event": "push",
"message": "First commit...",
"ref": "refs/heads/master",
"ref": "refs/heads/main",
"sender": "Octokitty",
"source": "https://github.com/github/octocat/commit/48afb5bdc41ad69bf22588491333f7cf71135163",
"title": "push received from https://github.com/github/octocat"
Expand Down Expand Up @@ -90,8 +90,8 @@ curl \
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"sender": "OctoKitty",
"author": "OctoKitty",
"branch": "master",
"ref": "refs/heads/master",
"branch": "main",
"ref": "refs/heads/main",
"base_ref": "",
"host": "company.localhost",
"runtime": "docker",
Expand Down
8 changes: 4 additions & 4 deletions content/reference/api/build/get.md
Expand Up @@ -95,8 +95,8 @@ curl \
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"sender": "OctoKitty",
"author": "OctoKitty",
"branch": "master",
"ref": "refs/heads/master",
"branch": "main",
"ref": "refs/heads/main",
"base_ref": "",
"host": "ed95dcc0687c",
"runtime": "",
Expand All @@ -122,8 +122,8 @@ curl \
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"sender": "OctoKitty",
"author": "OctoKitty",
"branch": "master",
"ref": "refs/heads/master",
"branch": "main",
"ref": "refs/heads/main",
"base_ref": "",
"host": "82823eb770b0",
"runtime": "",
Expand Down
4 changes: 2 additions & 2 deletions content/reference/api/build/restart.md
Expand Up @@ -72,8 +72,8 @@ curl \
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"sender": "OctoKitty",
"author": "OctoKitty",
"branch": "master",
"ref": "refs/heads/master",
"branch": "main",
"ref": "refs/heads/main",
"base_ref": "",
"host": "company.localhost",
"runtime": "docker",
Expand Down
4 changes: 2 additions & 2 deletions content/reference/api/build/update.md
Expand Up @@ -82,8 +82,8 @@ curl \
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"sender": "OctoKitty",
"author": "OctoKitty",
"branch": "master",
"ref": "refs/heads/master",
"branch": "main",
"ref": "refs/heads/main",
"base_ref": "",
"host": "company.localhost",
"runtime": "docker",
Expand Down
4 changes: 2 additions & 2 deletions content/reference/api/build/view.md
Expand Up @@ -72,8 +72,8 @@ curl \
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"sender": "OctoKitty",
"author": "OctoKitty",
"branch": "master",
"ref": "refs/heads/master",
"branch": "main",
"ref": "refs/heads/main",
"base_ref": "",
"host": "company.localhost",
"runtime": "docker",
Expand Down
4 changes: 2 additions & 2 deletions content/reference/api/deployment/add.md
Expand Up @@ -43,7 +43,7 @@ To authenticate to the API, please review the [authentication documentation](/do

```json
{
"ref": "master",
"ref": "main",
"target": "production"
}
```
Expand All @@ -68,7 +68,7 @@ curl \
"url": "https://api.github.com/repos/github/octocat/deployments/1",
"user": "octocat",
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"ref": "master",
"ref": "main",
"task": "deploy:vela",
"target": "production",
"description": "Deployment request from Vela"
Expand Down
12 changes: 6 additions & 6 deletions content/reference/api/deployment/get.md
Expand Up @@ -58,7 +58,7 @@ curl \
"url": "https://api.github.com/repos/github/octocat/deployments/2",
"user": "octocat",
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"ref": "master",
"ref": "main",
"task": "deploy:vela",
"target": "production",
"description": "Deployment request from Vela",
Expand All @@ -84,8 +84,8 @@ curl \
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"sender": "OctoKitty",
"author": "OctoKitty",
"branch": "master",
"ref": "refs/heads/master",
"branch": "main",
"ref": "refs/heads/main",
"base_ref": "",
"host": "ed95dcc0687c",
"runtime": "",
Expand All @@ -99,7 +99,7 @@ curl \
"url": "https://api.github.com/repos/github/octocat/deployments/9",
"user": "octocat",
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"ref": "master",
"ref": "main",
"task": "deploy:vela",
"target": "production",
"description": "Deployment request from Vela",
Expand All @@ -125,8 +125,8 @@ curl \
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"sender": "OctoKitty",
"author": "OctoKitty",
"branch": "master",
"ref": "refs/heads/master",
"branch": "main",
"ref": "refs/heads/main",
"base_ref": "",
"host": "82823eb770b0",
"runtime": "",
Expand Down
2 changes: 1 addition & 1 deletion content/reference/api/deployment/view.md
Expand Up @@ -58,7 +58,7 @@ curl \
"url": "https://api.github.com/repos/github/octocat/deployments/1",
"user": "octocat",
"commit": "48afb5bdc41ad69bf22588491333f7cf71135163",
"ref": "master",
"ref": "main",
"task": "deploy:vela",
"target": "production",
"description": "Deployment request from Vela"
Expand Down
4 changes: 2 additions & 2 deletions content/reference/api/hook/add.md
Expand Up @@ -47,7 +47,7 @@ To authenticate to the API, please review the [authentication documentation](/do
"source_id": "c8da1302-07d6-11ea-882f-4893bca275b8",
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"status": "success"
}
```
Expand Down Expand Up @@ -75,7 +75,7 @@ curl \
"created": "1563474076",
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": ""
Expand Down
4 changes: 2 additions & 2 deletions content/reference/api/hook/get.md
Expand Up @@ -61,7 +61,7 @@ curl \
"created": "1563474076",
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": ""
Expand All @@ -75,7 +75,7 @@ curl \
"created": "1563474076",
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": ""
Expand Down
2 changes: 1 addition & 1 deletion content/reference/api/hook/update.md
Expand Up @@ -71,7 +71,7 @@ curl \
"created": "1563474076",
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "failure",
"link": ""
Expand Down
2 changes: 1 addition & 1 deletion content/reference/api/hook/view.md
Expand Up @@ -61,7 +61,7 @@ curl \
"created": "1563474076",
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": ""
Expand Down

0 comments on commit 400aa85

Please sign in to comment.