Skip to content

Commit 8059451

Browse files
committed
fix yaml lints
1 parent 4a46b71 commit 8059451

7 files changed

Lines changed: 15 additions & 25 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Publish Docs
22

3-
# no permissions by default
4-
permissions: {}
5-
63
on:
74
schedule:
85
- cron: "0 13 * * *"
@@ -67,8 +64,6 @@ jobs:
6764
branch: "docs/update-switcher-${{ github.ref_name }}"
6865
base: "main"
6966
labels: "documentation"
70-
permissions:
71-
actions: write
7267

7368
- name: Publish to Github Pages on main
7469
if: ${{ github.ref == 'refs/heads/main' }}
@@ -78,8 +73,6 @@ jobs:
7873
publish_dir: docs/_build/html/
7974
destination_dir: dev
8075
keep_files: false
81-
permissions:
82-
actions: write
8376

8477
- name: Publish to Github Pages on release (versioned)
8578
if: ${{ github.event_name == 'release' }}
@@ -88,8 +81,6 @@ jobs:
8881
github_token: ${{ secrets.GITHUB_TOKEN }}
8982
publish_dir: docs/_build/html/
9083
destination_dir: ${{ github.ref_name }}
91-
permissions:
92-
actions: write
9384

9485
- name: Publish to Github Pages on release (latest)
9586
if: ${{ github.event_name == 'release' }}
@@ -99,5 +90,3 @@ jobs:
9990
publish_dir: docs/_build/html/
10091
destination_dir: latest
10192
keep_files: false
102-
permissions:
103-
actions: write

.github/workflows/save_versions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
run:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
actions: write
1517

1618
steps:
1719
- name: Checkout Folium
@@ -47,5 +49,3 @@ jobs:
4749
name: versions.txt
4850
path: /tmp/versions.txt
4951
fail-on-empty: false
50-
permissions:
51-
actions: write

.github/workflows/test_code.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
jobs:
1515
run:
1616
runs-on: ${{ matrix.os }}
17+
permissions:
18+
actions: write
19+
1720
strategy:
1821
matrix:
1922
os: [ ubuntu-latest, windows-latest, macos-latest ]
@@ -58,5 +61,3 @@ jobs:
5861
name: coverage-test-code-${{ matrix.os }}-${{ matrix.python-version }}
5962
path: .coverage*
6063
include-hidden-files: true
61-
permissions:
62-
actions: write

.github/workflows/test_geopandas.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
jobs:
1515
run:
1616
runs-on: ubuntu-latest
17+
permissions:
18+
actions: write
19+
1720
defaults:
1821
run:
1922
shell: bash -l {0}
@@ -65,5 +68,3 @@ jobs:
6568
path: |
6669
.coverage*
6770
include-hidden-files: true
68-
permissions:
69-
actions: write

.github/workflows/test_selenium.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
defaults:
2222
run:
2323
shell: bash -l {0}
24+
permissions:
25+
actions: write
2426

2527
steps:
2628
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
@@ -51,5 +53,4 @@ jobs:
5153
path: |
5254
.coverage*
5355
include-hidden-files: true
54-
permissions:
55-
actions: write
56+

.github/workflows/test_snapshots.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
defaults:
1616
run:
1717
shell: bash -l {0}
18+
permissions:
19+
actions: write
1820

1921
steps:
2022
- name: Checkout Folium
@@ -59,8 +61,6 @@ jobs:
5961
path: |
6062
/tmp/screenshot_*_*.png
6163
/tmp/folium_map_*.html
62-
permissions:
63-
actions: write
6464
6565
- name: Upload coverage
6666
if: always()
@@ -70,5 +70,3 @@ jobs:
7070
path: |
7171
.coverage*
7272
include-hidden-files: true
73-
permissions:
74-
actions: write

.github/workflows/test_streamlit_folium.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
defaults:
1818
run:
1919
shell: bash -l {0}
20+
permissions:
21+
actions: write
2022

2123
steps:
2224
- name: Set up Python
@@ -88,5 +90,3 @@ jobs:
8890
name: coverage-test-streamlit-folium
8991
path: |
9092
.coverage*
91-
permissions:
92-
actions: write

0 commit comments

Comments
 (0)