Sync #76805
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync | |
on: | |
schedule: | |
- cron: "0 * * * *" | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google/[email protected] | |
name: Sync Secrets | |
with: | |
SECRETS: | | |
^SYNCED_ | |
REPOSITORIES: | | |
^googlemaps | |
GITHUB_TOKEN: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }} | |
env: | |
SYNCED_RUN_ID: ${{github.run_id}} | |
SYNCED_GITHUB_TOKEN_REPO: ${{secrets.GOOGLEMAPS_BOT_REPO_TOKEN}} | |
SYNCED_GOOGLE_MAPS_API_KEY_SERVICES: ${{secrets.GOOGLE_MAPS_API_KEY_SERVICES}} | |
SYNCED_GOOGLE_MAPS_API_KEY_WEB: ${{secrets.GOOGLE_MAPS_API_KEY_WEB}} | |
- run: sleep 30s | |
- uses: google/[email protected] | |
name: Sync Sonatype Secrets | |
with: | |
SECRETS: | | |
^SYNCED_SONATYPE | |
REPOSITORIES: | | |
^googlemaps/java-.*$ | |
^googlemaps/android-.*$ | |
^googlemaps/google-maps-services-java$ | |
GITHUB_TOKEN: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }} | |
env: | |
SYNCED_SONATYPE_USERNAME: ${{secrets.SONATYPE_USERNAME}} # googlemaps-bot | |
SYNCED_SONATYPE_PASSWORD: ${{secrets.SONATYPE_PASSWORD}} | |
- run: sleep 30s | |
- uses: google/[email protected] | |
name: Sync GPG Secrets | |
with: | |
SECRETS: | | |
^SYNCED_GPG_ | |
REPOSITORIES: | | |
^googlemaps/java-.*$ | |
^googlemaps/android-.*$ | |
^googlemaps/google-maps-services-java$ | |
GITHUB_TOKEN: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }} | |
env: | |
SYNCED_GPG_KEY_ARMOR: ${{secrets.GPG_KEY_ARMOR}} | |
SYNCED_GPG_KEY_ID: ${{secrets.GPG_KEY_ID}} | |
SYNCED_GPG_KEY_PASSWORD: ${{secrets.GPG_KEY_PASSWORD}} | |
- run: sleep 30s | |
- uses: google/[email protected] | |
name: Sync Bazel Cache Secrets | |
with: | |
SECRETS: | | |
^SYNCED_BAZEL_CACHE | |
REPOSITORIES: | | |
^googlemaps/java-.*$ | |
^googlemaps/python-.*$ | |
^googlemaps/go-.*$ | |
^googlemaps/js-samples$ | |
GITHUB_TOKEN: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }} | |
env: | |
SYNCED_BAZEL_CACHE_SERVICE_ACCOUNT: ${{secrets.BAZEL_CACHE_SERVICE_ACCOUNT}} | |
SYNCED_BAZEL_CACHE_BUCKET: geo-devrel-bazel-cache |