File tree 9 files changed +10
-10
lines changed
functions-framework-api/src/main/java/com/google/cloud/functions
9 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Buildpack Integration Test
3
3
on :
4
4
push :
5
5
branches :
6
- - master
6
+ - main
7
7
workflow_dispatch :
8
8
9
9
# Declare default permissions as read only.
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ name: "CodeQL"
2
2
3
3
on :
4
4
push :
5
- branches : [ "master " ]
5
+ branches : [ "main " ]
6
6
pull_request :
7
7
# The branches below must be a subset of the branches above
8
- branches : [ "master " ]
8
+ branches : [ "main " ]
9
9
10
10
permissions :
11
11
contents : read
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Java Conformance CI
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - main
6
6
pull_request :
7
7
8
8
# Declare default permissions as read only.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Java Lint CI
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - main
6
6
pull_request :
7
7
workflow_dispatch :
8
8
permissions :
Original file line number Diff line number Diff line change 8
8
schedule :
9
9
- cron : ' 0 */12 * * *'
10
10
push :
11
- branches : [ "master " ]
11
+ branches : [ "main " ]
12
12
workflow_dispatch :
13
13
14
14
# Declare default permissions as read only.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Java Unit CI
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - main
6
6
pull_request :
7
7
permissions :
8
8
contents : read
Original file line number Diff line number Diff line change 18
18
* Represents a Cloud Function that is activated by an event and parsed into a user-supplied class.
19
19
* The payload of the event is a JSON object, which is deserialized into a user-defined class as
20
20
* 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>.
22
22
*
23
23
* <p>Here is an example of an implementation that accesses the {@code messageId} property from a
24
24
* payload that matches a user-defined {@code PubSubMessage} class:
Original file line number Diff line number Diff line change 17
17
/**
18
18
* Represents a Cloud Function that is activated by an event. The payload of the event is a JSON
19
19
* 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>.
21
21
*
22
22
* <p>Here is an example of an implementation that parses the JSON payload using Gson, to access its
23
23
* {@code messageId} property:
Original file line number Diff line number Diff line change 15
15
Parent POM for the GCF Java Invoker. The project is structured like this so
16
16
that we can have modules that build jar files for use in tests.
17
17
</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 >
19
19
20
20
<scm >
21
21
<url >http://github.com/GoogleCloudPlatform/functions-framework-java</url >
You can’t perform that action at this time.
0 commit comments