Skip to content

Commit 0c16726

Browse files
authored
Merge pull request #31 from googlemaps/ccom
chore: finalize repo infrastructure and secure validation
2 parents c682a7f + d296526 commit 0c16726

5 files changed

Lines changed: 234 additions & 0 deletions

File tree

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<!--
2+
Copyright 2026 Google LLC
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
17+
---
18+
name: Bug report
19+
about: Create a report to help us improve
20+
title: ''
21+
labels: 'type: bug, triage me'
22+
assignees: ''
23+
24+
---
25+
26+
Thanks for stopping by to let us know something could be better!
27+
28+
---
29+
**PLEASE READ**
30+
31+
If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/). This will ensure a timely response.
32+
33+
Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform [support resources page](https://developers.google.com/maps/support/).
34+
35+
If your bug or feature request is not related to this particular library, please visit the Google Maps Platform [issue trackers](https://developers.google.com/maps/support/#issue_tracker).
36+
37+
Check for answers on StackOverflow with the [google-maps](http://stackoverflow.com/questions/tagged/google-maps) tag.
38+
39+
---
40+
41+
Please be sure to include as much information as possible:
42+
43+
#### Environment details
44+
45+
1. Specify the API at the beginning of the title (for example, "Places: ...")
46+
2. OS type and version
47+
3. Library version and other environment information
48+
49+
#### Steps to reproduce
50+
51+
1. ?
52+
53+
#### Code example
54+
55+
```
56+
# example
57+
```
58+
59+
#### Stack trace
60+
```
61+
# example
62+
```
63+
64+
Following these steps will guarantee the quickest resolution possible.
65+
66+
Thanks!
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<!--
2+
Copyright 2026 Google LLC
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
17+
---
18+
name: Feature request
19+
about: Suggest an idea for this library
20+
title: ''
21+
labels: 'type: feature request, triage me'
22+
assignees: ''
23+
24+
---
25+
26+
Thanks for stopping by to let us know something could be better!
27+
28+
---
29+
**PLEASE READ**
30+
31+
If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/). This will ensure a timely response.
32+
33+
Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform [support resources page](https://developers.google.com/maps/support/).
34+
35+
If your bug or feature request is not related to this particular library, please visit the Google Maps Platform [issue trackers](https://developers.google.com/maps/support/#issue_tracker).
36+
37+
Check for answers on StackOverflow with the [google-maps](http://stackoverflow.com/questions/tagged/google-maps) tag.
38+
39+
---
40+
41+
**Is your feature request related to a problem? Please describe.**
42+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
43+
44+
**Describe the solution you'd like**
45+
A clear and concise description of what you want to happen.
46+
47+
**Describe alternatives you've considered**
48+
A clear and concise description of any alternative solutions or features you've considered.
49+
50+
**Additional context**
51+
Add any other context or screenshots about the feature request here.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!--
2+
Copyright 2026 Google LLC
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
17+
---
18+
name: Support request
19+
about: If you have a support contract with Google, please create an issue in the Google
20+
Cloud Support console.
21+
title: ''
22+
labels: 'triage me, type: question'
23+
assignees: ''
24+
25+
---
26+
27+
**PLEASE READ**
28+
29+
If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/). This will ensure a timely response.
30+
31+
Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform [support resources page](https://developers.google.com/maps/support/).
32+
33+
If your bug or feature request is not related to this particular library, please visit the Google Maps Platform [issue trackers](https://developers.google.com/maps/support/#issue_tracker).
34+
35+
Check for answers on StackOverflow with the [google-maps](http://stackoverflow.com/questions/tagged/google-maps) tag.
36+
37+
---

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--
2+
Copyright 2026 Google LLC
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
17+
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
18+
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/release-please/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
19+
- [ ] Ensure the tests and linter pass
20+
- [ ] Code coverage does not decrease (if any source code was changed)
21+
- [ ] Appropriate docs were updated (if necessary)
22+
23+
Fixes #<issue_number_goes_here> 🦕
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Copyright 2026 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: "Semantic Pull Request"
16+
17+
on:
18+
pull_request:
19+
types:
20+
- opened
21+
- edited
22+
- synchronize
23+
24+
permissions:
25+
pull-requests: read
26+
statuses: write
27+
28+
jobs:
29+
main:
30+
name: Validate PR title
31+
runs-on: ubuntu-latest
32+
permissions:
33+
pull-requests: read
34+
statuses: write
35+
steps:
36+
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
with:
40+
types: |
41+
feat
42+
fix
43+
chore
44+
docs
45+
style
46+
refactor
47+
perf
48+
test
49+
build
50+
ci
51+
# This ensures the bot can post a detailed comment if the validation fails
52+
# mimicking the helpful feedback seen in other googlemaps repos
53+
headerPattern: '^(\w*)(?:\(([\w$.\-*/ ]*)\))?!?: (.*)$'
54+
headerPatternCorrespondence: type, scope, subject
55+
# If the PR only contains a single commit, the action will validate that
56+
# it matches the configured pattern.
57+
validateSingleCommit: true

0 commit comments

Comments
 (0)