Skip to content

Commit ca302d8

Browse files
authored
Merge pull request #789 from Automattic/3.0/fix/666-branch-rename
2 parents 64aa799 + 2758288 commit ca302d8

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.github/CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ After `composer install`, you can do:
4444

4545
## Branches
4646

47-
Ongoing development will be done in feature branches then pulled against the `develop` branch and follows a typical _git-flow_ approach, where merges to `master` only happen when a new release is made.
47+
Ongoing development will be done in feature branches then pulled against the `develop` branch and follows a typical _git-flow_ approach, where merges to `main` only happen when a new release is made.
4848

4949
To contribute an improvement to this project, fork the repo and open a pull request to the relevant branch. Alternatively, if you have push access to this repo, create a feature branch prefixed by `fix/` (followed by the issue number) or `add/` and then open a PR from that branch to the default (`develop`) branch.
5050

@@ -199,9 +199,9 @@ When adding or changing a sniff, the ruleset test files should be updated to mat
199199

200200
- In a `changelog/x.y.z` branch off of `develop`, update the `CHANGELOG.md` with a list of all of the changes following the keepachangelog.com format. Include PR references and GitHub username props.
201201
- Create a PR of `develop` <-- `changelog/x.y.z`, but do not merge until ready to release.
202-
- Create a PR of `master` <-- `develop`, and copy-paste the [`release-template.md`](https://github.com/Automattic/VIP-Coding-Standards/blob/develop/.github/ISSUE_TEMPLATE/release-template.md) contents.
203-
- When ready to release, merge the change log PR into `develop`, then merge the `develop` into `master` PR.
204-
- Tag the commit in `master` with the appropriate version number. Ideally, have it signed.
202+
- Create a PR of `main` <-- `develop`, and copy-paste the [`release-template.md`](https://github.com/Automattic/VIP-Coding-Standards/blob/develop/.github/ISSUE_TEMPLATE/release-template.md) contents.
203+
- When ready to release, merge the change log PR into `develop`, then merge the `develop` into `main` PR.
204+
- Tag the commit in `main` with the appropriate version number. Ideally, have it signed.
205205
- Close the current milestone.
206206
- Open a new milestone for the next release.
207207
- If any open PRs/issues which were milestoned for this release do not make it into the release, update their milestone.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Use `php -v` and `composer show` to get versions.
5353

5454
<!-- Add any other context about the problem here. -->
5555

56-
## Tested Against `master` branch?
56+
## Tested Against `main` branch?
5757

58-
- [ ] I have verified the issue still exists in the `master` branch of VIPCS.
58+
- [ ] I have verified the issue still exists in the `main` branch of VIPCS.
5959
- [ ] I have verified the issue still exists in the `develop` branch of VIPCS.

.github/ISSUE_TEMPLATE/release-template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ assignees: GaryJones, rebeccahum
1313

1414
PR for tracking changes for the X.Y.Z release. Target release date: DOW DD MMMM YYYY.
1515

16-
- [ ] Scan WordPress (or just wp-admin folder) with prior version and compare results against new release for potential new bugs.
16+
- [ ] Scan WordPress (or just wp-admin folder) with prior version and compare results against new release for potential new bugs.
1717
- [ ] Add change log for this release: PR #XXX
1818
- [ ] Double-check whether any dependencies need bumping.
1919
- [ ] Merge this PR.
20-
- [ ] Add signed release tag against `master`.
20+
- [ ] Add signed release tag against `main`.
2121
- [ ] Close the current milestone.
2222
- [ ] Open a new milestone for the next release.
2323
- [ ] If any open PRs/issues which were milestoned for this release do not make it into the release, update their milestone.

.github/workflows/quicktest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Quicktest
22

33
on:
4-
# Run on pushes, including merges, to all branches except `master`.
4+
# Run on pushes, including merges, to all branches except `main`.
55
push:
66
branches-ignore:
7-
- master
7+
- main
88
paths-ignore:
99
- '**.md'
1010
# Allow manually triggering the workflow.

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Test
22

33
on:
4-
# Run on pushes to `master` and on all pull requests.
4+
# Run on pushes to `main` and on all pull requests.
55
# Prevent the "push" build from running when there are only irrelevant changes.
66
push:
77
branches:
8-
- master
8+
- main
99
paths-ignore:
1010
- '**.md'
1111
pull_request:

0 commit comments

Comments
 (0)