Skip to content

Commit 1ba1e95

Browse files
committed
Replace default branch name with main
1 parent b507739 commit 1ba1e95

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
2-
push: {branches: master}
3-
pull_request: {branches: master}
2+
push: {branches: main}
3+
pull_request: {branches: main}
44

55
jobs:
66
ci:

.github/workflows/integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
on:
2-
push: {branches: master}
2+
push: {branches: main}
33

44
jobs:
55
integration:
66
runs-on: ubuntu-latest
77
steps:
88
- id: output-set
9-
uses: actions/github-script@master
9+
uses: actions/github-script@main
1010
with:
1111
script: return core.getInput('input-value')
1212
result-encoding: string

.github/workflows/pull-request-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
pull_request:
3-
branches: master
3+
branches: main
44
types: [opened, synchronize]
55

66
jobs:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ arguments will be provided:
1010
- `github` A pre-authenticated
1111
[octokit/rest.js](https://github.com/octokit/rest.js) client
1212
- `context` An object containing the [context of the workflow
13-
run](https://github.com/actions/toolkit/blob/master/packages/github/src/context.ts)
14-
- `core` A reference to the [@actions/core](https://github.com/actions/toolkit/tree/master/packages/core) package
15-
- `io` A reference to the [@actions/io](https://github.com/actions/toolkit/tree/master/packages/io) package
13+
run](https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts)
14+
- `core` A reference to the [@actions/core](https://github.com/actions/toolkit/tree/main/packages/core) package
15+
- `io` A reference to the [@actions/io](https://github.com/actions/toolkit/tree/main/packages/io) package
1616

1717
Since the `script` is just a function body, these values will already be
1818
defined, so you don't have to (see examples below).

docs/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ Releases are done manually, for now:
2525
1. Ensure that the build is up to date with `npm run build`.
2626
1. Bump the [package.json](/package.json#L3) and [package-lock.json](/package-lock.json#L3) version numbers and commit them.
2727
1. Update documentation (including updated version numbers).
28-
1. Tag master with the new version number and create a GitHub release.
28+
1. Tag main with the new version number and create a GitHub release.

0 commit comments

Comments
 (0)