Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/plumber.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Plumber

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

jobs:
plumber:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
security-events: write
# Needed by score-push to publish the score for the README badge.
id-token: write
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0

- uses: getplumber/plumber@7ad9d267ee5a00163cec9e5c749a088d5f565167 # v0.4.26
with:
# Code scanning upload needs security-events write, which PRs
# from forks do not get. The report stays available as a
# workflow artifact there.
upload-sarif: ${{ github.event.pull_request.head.repo.fork != true }}
# Publishes the score to score.getplumber.io, which feeds the
# badge in the README. A failed push never fails the run.
score-push: true
# Gate at 85 points instead of the all-or-nothing default,
# leaves room for a small finding without blocking PRs.
min-points: 85
14 changes: 14 additions & 0 deletions .plumber.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Plumber overlay: inherits every control from the CLI's built-in
# baseline, only the differences for this repo are written here.
# Run 'plumber config resolve' to see the full effective config.
extends: plumber:default
version: '2.0'

github:
controls:
# Off for now: the release jobs restore the npm cache through
# setup-node on release triggers. Scoping the cache key to the
# release ref (or skipping the cache on publish) is a good
# follow-up, but it is its own change.
releaseWorkflowsMustNotRestoreUntrustedCache:
enabled: false
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# React Components for the Google Maps JavaScript API

[![MIT License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/visgl/react-google-maps/tree/main/LICENSE)
[![Plumber Score](https://score.getplumber.io/github.com/visgl/react-google-maps.svg)](https://score.getplumber.io/github.com/visgl/react-google-maps)

This is a TypeScript / JavaScript library to integrate the Maps JavaScript API
into your React application.
Expand Down