Skip to content

chore: Add 3.55 JS Maps API #188

chore: Add 3.55 JS Maps API

chore: Add 3.55 JS Maps API #188

Workflow file for this run

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: "Sync"
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: sync
cancel-in-progress: true
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: js-types
- name: Setup Bazel
uses: abhinavsingh/setup-bazel@v3
with:
version: 2.1.0
- run: bazel build :definitelytyped.d.ts
working-directory: js-types
- uses: actions/checkout@v2
with:
repository: DefinitelyTyped/DefinitelyTyped
token: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }}
path: dt
ref: master
- run: js-types/.github/workflows/sync.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
path: dt
token: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }}
push-to-fork: googlemaps/DefinitelyTyped
title: "chore: sync updates to google.maps"
body: "This is a automatic pull request to update @types/google.maps"
commit-message: "chore: sync updates to google.maps"
branch: "chore/sync-google-dot-maps"
delete-branch: true
if: github.ref == 'refs/heads/main'