From 06e77953cd3988af85eb08468894e71b01aaa473 Mon Sep 17 00:00:00 2001 From: Alexander Danilov Date: Tue, 13 Aug 2024 12:17:13 +0500 Subject: [PATCH 1/3] Fix reviewdog permissions --- .github/workflows/reviewdog.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 2a71419d5..1cf776c90 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -11,6 +11,10 @@ jobs: eslint: name: runner / eslint runs-on: ubuntu-latest + permissions: + checks: write + contents: read + pull-requests: read steps: - uses: actions/checkout@v2 - uses: reviewdog/action-eslint@v1 From 9a05fa2fc0bf356d9ac997082da8e1714718c21b Mon Sep 17 00:00:00 2001 From: Alexander Danilov Date: Tue, 13 Aug 2024 12:29:16 +0500 Subject: [PATCH 2/3] Update reviewdog.yml --- .github/workflows/reviewdog.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 1cf776c90..6160b7d0d 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -1,20 +1,12 @@ name: reviewdog -# read-only repo token -# no access to secrets on: pull_request: - paths-ignore: - - '!.github/**' jobs: eslint: name: runner / eslint runs-on: ubuntu-latest - permissions: - checks: write - contents: read - pull-requests: read steps: - uses: actions/checkout@v2 - uses: reviewdog/action-eslint@v1 From abbf23ecd8762528aee386cba077dfdbf6b7b3e9 Mon Sep 17 00:00:00 2001 From: Alexander Danilov Date: Tue, 13 Aug 2024 12:33:32 +0500 Subject: [PATCH 3/3] Update basemap-bing.js --- plugins/basemap-bing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/basemap-bing.js b/plugins/basemap-bing.js index 59d151606..ea3717256 100644 --- a/plugins/basemap-bing.js +++ b/plugins/basemap-bing.js @@ -11,7 +11,7 @@ var changelog = [ { version: '0.3.2', changes: ['Version upgrade due to a change in the wrapper: added plugin icon'], - }, + } ]; // use own namespace for plugin @@ -40,7 +40,7 @@ mapBing.options = { function setup () { setupBingLeaflet(); - for (var name in mapBing.sets) { + for ( var name in mapBing.sets) { var options = L.extend({}, mapBing.options, mapBing.sets[name]); layerChooser.addBaseLayer(L.bingLayer(options), 'Bing ' + name); }