Skip to content

Commit 9970a4d

Browse files
ci: rename master branch to main (GoogleCloudPlatform#219)
1 parent 4e19904 commit 9970a4d

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

.github/workflows/buildpack-integration-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Buildpack Integration Test
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
workflow_dispatch:
88

99
# Declare default permissions as read only.

.github/workflows/codeql.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "main" ]
66
pull_request:
77
# The branches below must be a subset of the branches above
8-
branches: [ "master" ]
8+
branches: [ "main" ]
99

1010
permissions:
1111
contents: read

.github/workflows/conformance.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Java Conformance CI
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77

88
# Declare default permissions as read only.

.github/workflows/lint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Java Lint CI
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77
workflow_dispatch:
88
permissions:

.github/workflows/scorecard.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
schedule:
99
- cron: '0 */12 * * *'
1010
push:
11-
branches: [ "master" ]
11+
branches: [ "main" ]
1212
workflow_dispatch:
1313

1414
# Declare default permissions as read only.

.github/workflows/unit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Java Unit CI
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77
permissions:
88
contents: read

functions-framework-api/src/main/java/com/google/cloud/functions/BackgroundFunction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Represents a Cloud Function that is activated by an event and parsed into a user-supplied class.
1919
* The payload of the event is a JSON object, which is deserialized into a user-defined class as
2020
* described for <a
21-
* href="https://github.com/google/gson/blob/master/UserGuide.md#TOC-Object-Examples">Gson</a>.
21+
* href="https://github.com/google/gson/blob/main/UserGuide.md#TOC-Object-Examples">Gson</a>.
2222
*
2323
* <p>Here is an example of an implementation that accesses the {@code messageId} property from a
2424
* payload that matches a user-defined {@code PubSubMessage} class:

functions-framework-api/src/main/java/com/google/cloud/functions/RawBackgroundFunction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* Represents a Cloud Function that is activated by an event. The payload of the event is a JSON
1919
* object, which can be parsed using a JSON package such as <a
20-
* href="https://github.com/google/gson/blob/master/UserGuide.md">GSON</a>.
20+
* href="https://github.com/google/gson/blob/main/UserGuide.md">GSON</a>.
2121
*
2222
* <p>Here is an example of an implementation that parses the JSON payload using Gson, to access its
2323
* {@code messageId} property:

invoker/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Parent POM for the GCF Java Invoker. The project is structured like this so
1616
that we can have modules that build jar files for use in tests.
1717
</description>
18-
<url>https://github.com/GoogleCloudPlatform/functions-framework-java/tree/master/invoker</url>
18+
<url>https://github.com/GoogleCloudPlatform/functions-framework-java/tree/main/invoker</url>
1919

2020
<scm>
2121
<url>http://github.com/GoogleCloudPlatform/functions-framework-java</url>

0 commit comments

Comments
 (0)